diff options
author | paul <paul> | 2004-09-12 14:21:37 +0000 |
---|---|---|
committer | paul <paul> | 2004-09-12 14:21:37 +0000 |
commit | 4136cf0712d4f34e70025e7d0614d5d03e48bca6 (patch) | |
tree | 21a72590afb62f6e09ba66f43aaef5825e25ac4c /lib/command.c | |
parent | 0e1c09f1bb6690d36da1b87d5c95f62fd4d4555f (diff) | |
download | quagga-4136cf0712d4f34e70025e7d0614d5d03e48bca6.tar.bz2 quagga-4136cf0712d4f34e70025e7d0614d5d03e48bca6.tar.xz |
2004-09-12 Paul Jakma <paul@dishone.st>
* ospf_packet.c: Fix bugzilla #107
(ospf_packet_max) get rid of the magic 88 constant
(ospf_swab_iph_ton) new function. set ip header to network order,
taking BSDisms into account.
(ospf_swab_iph_toh) the inverse.
(ospf_write) Add support for IP fragmentation, will only work on
linux though, other kernels make it impossible. get rid of the
magic 4 constant.
(ospf_make_ls_upd) Bound check to end of stream, not to
interface mtu.
(ospf_ls_upd_packet_new) New function, allocate upd packet
taking oversized LSAs into account.
(ospf_ls_upd_queue_send) use ospf_ls_upd_packet_new to allocate,
rather than statically allocating mtu sized packet buffer, which
actually was wrong - it didnt take ip header into account, which
should not be included in packet buffer.
(ospf_ls_upd_send_queue_event) minor tweaks and remove
TODO comment.
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions