bgpd/bgp_fsm.c | 2 - bgpd/bgp_packet.c | 24 ------------ bgpd/bgp_route.c | 17 -------- bgpd/bgp_table.c | 35 ++---------------- bgpd/bgp_zebra.c | 33 ----------------- lib/md5.c | 3 + lib/prefix.h | 16 ++++++++ lib/table.c | 45 +++++------------------ lib/table.h | 12 +++--- ospf6d/ospf6_interface.c | 17 -------- ospf6d/ospf6_lsdb.c | 9 +--- ospf6d/ospf6_route.c | 5 -- ospf6d/ospf6_top.c | 2 + ripd/rip_interface.c | 19 +++++---- ripd/rip_zebra.c | 2 + ripd/ripd.c | 2 + ripd/ripd.h | 2 + ripngd/ripng_interface.c | 31 ++++------------ ripngd/ripngd.c | 5 ++ zebra/interface.c | 13 ------ zebra/irdp.h | 7 +++ zebra/irdp_interface.c | 25 ++++++++---- zebra/irdp_main.c | 20 ---------- zebra/irdp_packet.c | 6 +-- zebra/rtadv.c | 13 ++---- zebra/zebra_rib.c | 91 +++++++---------------------------------------- 26 files changed, 121 insertions(+), 335 deletions(-)
New commits: commit 2c2397059d4d4177ed4636c08aa476a138425dc8 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 19:16:05 2009 +0300 ripd: fix compiler warnings * ripd/rip_interface.c * rip_request_neighbor(): comment out, unused * rip_request_neighbor_all(): idem * rip_interface_up(): Cast flags otherwise compiler complains about %lld not matching uint64_t on 64 bit x86. Print in hex since flags are bit field. * rip_interface_add(): idem * rip_interface_delete(): idem * ripd/rip_zebra.c * rip_redistribute_set(): comment out, unused * ripd/ripd.h * rip_redistribute_check(): move prototype here so compiler can check function against prototype * ripd/ripd.c * rip_update_default_metric(): comment out, unused commit e580216e1ba2db506d1942e382852d07973a5fad Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 16:18:41 2009 +0300 ospf6d: remove dead code * ospf6d/ospf6_interface.c * loopind(): sayonara * ospf6d/ospf6_top.c * ospf6_delete(): comment out, it might be useful if real shutdown is added commit 813f6a0064e76fdc8d509ddfbd4d3870d7027850 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 16:13:09 2009 +0300 ospf6d: fix warnings from recent prefix bit commit * lib/prefix.h * prefix6_bit(): add IPv6 wrapper for prefix_bit() * ospf6d/ospf6_lsdb.c * ospf6_lsdb_type_router_head(): employ prefix6_bit() * ospf6_lsdb_type_head(): idem commit 5eb9d11bf6bbe99ce47f929a14ac03351f21fe27 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 15:52:33 2009 +0300 ripngd: compiler warnings cleanup * ripngd/ripng_interface.c * ripng_check_max_mtu(): unused, sayonara * ripng_interface_down(): cast flag arguments to logging function * ripng_interface_add(): idem * ripng_interface_delete(): idem * ripngd/ripngd.c * ripng_recv_packet(): avoid aliasing warning dereferencing pointer commit ab0f61552622084a13ede59adefc4c54b5513d7b Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 14:22:44 2009 +0300 zebra: deal with irdp compile warnings * zebra/irdp.h * irdp_send_thread(): move prototype to common header file * irdp_advert_off(): idem * process_solicit(): idem * irdp_read_raw(): idem * send_packet(): idem * zebra/irdp_interface.c * inet_2a(): move function to where it is used * in_cksum(): lib/checksum.h already provides prototype * irdp_send_thread(): prototype moved away * inet_2a(): idem * irdp_advert_off(): idem * b1, b2, b3, b4: get rid of global buffers for inet_2a() * if_group(): add local buffer for inet_2a() * if_add_group(): idem * if_drop_group(): idem * irdp_config_write(): idem * Adv_new(): make static * zebra/irdp_main.c * irdp_read_raw(): prototype moved away * send_packet(): idem * in_cksum(): lib/checksum.h already provides prototype * inet_2a(): function moved to irdp_interface.c * zebra/irdp_packet.c * b1, b2, b3, b4: get rid of global buffers for inet_2a() * in_cksum(): lib/checksum.h already provides prototype * process_solicit(): prototype moved away * irdp_read_raw(): fix uninitialized variable commit 9e4ca89c3678431560a8259c75f8b5874d83d351 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 11:57:05 2009 +0300 bgpd: compile warnings cleanup * bgpd/bgp_fsm.c * bgp_clearing_completed(): only used in one file, can be static * bgpd/bgp_packet.c * afi2str(): sayonara * safi2str(): sayonara * bgpd/bgp_route.c * bgp_distance_reset(): sayonara * bgpd/bgp_zebra.c * bgp_ifindex_by_nexthop(): sayonara commit cc2dd9280c4456586080d1cf4537d26c02fa9a36 Author: Stephen Hemminger <[email protected]> Date: Wed Dec 9 17:54:49 2009 +0300 zebra: cleanup RIB meta queue code * zebra/zebra_rib.c * rib_queue_add(): indent comments and simplify debug code * rib_queue_init(): remove unneeded assert() calls and extra return statements commit 1352ef32d70dcc102074814de63b5d08e591dd2d Author: Stephen Hemminger <[email protected]> Date: Wed Dec 9 14:43:17 2009 +0300 lib: move check_bit into prefix common code Make one version of check prefix bit, and put it inline with proper prototype. This gets rid of some macro's and also some assert() that can never happen on a non-broken compiler. * bgpd/bgp_table.c * CHECK_BIT(): sayonara * check_bit(): sayonara * SET_LINK(): sayonara * set_link(): make use of prefix_bit() instead of check_bit() * bgp_node_match(): idem * bgp_node_lookup(): idem * bgp_node_get(): idem * lib/prefix.h * prefix_bit(): new inline version of check_bit() * lib/table.c * CHECK_BIT(): sayonara * check_bit(): sayonara * SET_LINK(): sayonara * set_link(): make use of prefix_bit() instead of check_bit() * route_node_match(): idem * route_node_lookup(): idem * route_node_get(): idem * ospf6d/ospf6_lsdb.c * CHECK_BIT(): sayonara * ospf6_lsdb_lookup_next(): make use of prefix_bit() instead of CHECK_BIT() * ospf6_lsdb_type_router_head(): idem * ospf6_lsdb_type_head(): idem * ospf6d/ospf6_route.c * CHECK_BIT(): sayonara * ospf6_route_match_head() make use of prefix_bit() instead of * CHECK_BIT() commit 3949a60c350fea947d2701e2fe709b174ae7af16 Author: Stephen Hemminger <[email protected]> Date: Wed Dec 9 14:13:27 2009 +0300 lib: fix warning on little endian * md5.c * md5_calc(): If building on little endian then X will be 'const uint32_t' which causes compiler warning in code that never gets used. Just move the endif to make sure code is not checked. commit b0b709ab6656ba07f12fe0d256912dcabba19017 Author: Stephen Hemminger <[email protected]> Date: Tue Dec 8 13:26:14 2009 +0300 zebra: fix more warnings in rtadv * zebra/rtadv.c * rtadv_free(): remove unused function * rtadv_recv_packet(): break up cast/dereference to avoid compiler type pun warning * rtadv_read(): initialize ifindex, because compiler can't figure out that it is okay commit d02c56cdf0c2e01a986417ed973dd7a2a5368ac1 Author: Stephen Hemminger <[email protected]> Date: Tue Dec 8 13:14:27 2009 +0300 zebra: fix more compiler warnings * zebra/zebra_rib.c * nexthop_active_update(): make local int vars unsigned * nexthop_active_check(): return unsigned for consistency * rib_dump(): cast time in printf format * vrf_free(): remove unused function * vrf_lookup_by_name(): idem * rib_if_up(): idem * rib_if_down(): idem commit ffac19c58ee636274cd3972b584e37cd9a3331de Author: Stephen Hemminger <[email protected]> Date: Tue Dec 8 12:27:02 2009 +0300 zebra: remove unused function to fix warning * zebra/interface.c * if_supported_family(): sayonara commit 38cc00cd823fe945c7748de18c3e8932d98dd8f8 Author: Stephen Hemminger <[email protected]> Date: Tue Dec 8 12:00:50 2009 +0300 lib: make match functions take const args * table.c: general type safety and compiler help: * maskbit[]: become const * route_node_match(): take const args * route_node_match_ipv4(): idem * route_node_match_ipv6(): idem * check_bit(): idem, plus adjust local vars typing http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=2c2397059d4d4177ed4636c08aa476a138425dc8 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=e580216e1ba2db506d1942e382852d07973a5fad http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=813f6a0064e76fdc8d509ddfbd4d3870d7027850 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=5eb9d11bf6bbe99ce47f929a14ac03351f21fe27 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=ab0f61552622084a13ede59adefc4c54b5513d7b http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=9e4ca89c3678431560a8259c75f8b5874d83d351 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=cc2dd9280c4456586080d1cf4537d26c02fa9a36 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=1352ef32d70dcc102074814de63b5d08e591dd2d http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=3949a60c350fea947d2701e2fe709b174ae7af16 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=b0b709ab6656ba07f12fe0d256912dcabba19017 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=d02c56cdf0c2e01a986417ed973dd7a2a5368ac1 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=ffac19c58ee636274cd3972b584e37cd9a3331de http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=38cc00cd823fe945c7748de18c3e8932d98dd8f8 _______________________________________________ svn mailing list [email protected] http://mailman.vyatta.com/mailman/listinfo/svn
