From 68b7339ad88c10d20738f8dd0bf6bb6388474970 Mon Sep 17 00:00:00 2001 From: paul Date: Sun, 12 Sep 2004 14:21:37 +0000 Subject: 2004-09-12 Paul Jakma * 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. --- ospfd/ChangeLog | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'ospfd/ChangeLog') diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index 3c5777b1..461519f8 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -1,3 +1,24 @@ +2004-09-12 Paul Jakma + + * 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. + 2004-08-31 David Wiggins * ospf_spf.c (ospf_spf_calculate): Many more comments and debug -- cgit v1.2.1