summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2004-10-07 Greg Troxel <gdt@sunpal7.mit.edu>gdt2004-10-072-2/+7
| | | | * configure.ac: remove -Wpacked; 2.95.3 doesn't support it.
* Number of warnings is down to 3 again in lib directory. A lot of const'shasso2004-10-0524-161/+163
| | | | added to strings and a lot of int -> unsigned int changes.
* 2004-10-05 Paul Jakma <paul@dishone.st>paul2004-10-052-34/+37
| | | | | | | * thread.c: (funcname_thread_add_timer_timeval) new function, add timer at specified timeval. (funcname_thread_add_timer) use funcname_thread_add_timer_timeval. (funcname_thread_add_timer_msec) ditto
* 2004-10-05 Paul Jakma <paul@dishone.st>paul2004-10-052-61/+89
| | | | | | | | | | | | | * irdp_packet.c: (parse_irdp_packet) style issues. Use sockopt_iphdrincl_swab_systoh. Try unbork the code. Checksum the ICMP data and actually compare it to received checksum. Check data length against claimed length in header. Always use ntoh.. when accessing addresses, even when the comparison happens to be endian-safe. (send_packet) minor style isues. Use sockopt_iphdrincl_swab_htosys. (irdp_iph_hton/ntoh) IP header to/from network/host order.
* 2004-10-05 Paul Jakma <paul@dishone.st>paul2004-10-053-46/+14
| | | | | * ospf_packet.c: replace ospf_swap_iph_to... with sockopt_iphdrincl_swab_...
* 2004-10-05 Paul Jakma <paul@dishone.st>paul2004-10-053-0/+39
| | | | | | * sockopt.{c,h}: add sockopt_iphdrincl_swab_{htosys,systoh}, functions to change byte order between system IP_HDRINCL order and host order.
* Even my time is limited :).hasso2004-10-052-4/+8
|
* Remove dead files.hasso2004-10-052-90/+0
|
* First small part of lib cleanup. Mainly "constification" of arguments andhasso2004-10-049-62/+80
| | | | adding FIXME's.
* Every file includes it and warns about it.hasso2004-10-041-1/+0
|
* Document stuff I broke today.hasso2004-10-031-0/+12
|
* Big vtysh cleanup. See changelogs for details.hasso2004-10-0314-177/+307
|
* New way to handle secondary addresses from Gilad Arnold.hasso2004-10-034-89/+207
|
* Common router id.hasso2004-10-0326-151/+584
|
* 2004-09-30 Paul Jakma <paul@dishone.st>paul2004-09-302-4/+14
| | | | * Update default CFLAGS for gcc to keep Hasso busy.
* * Wed Sep 15 2004 Paul Jakma <paul@dishone.st>paul2004-09-301-27/+59
| | | | | | | - build snmp support by default - build irdp support - build with shared libs - devel subpackage for archives and headers
* Merge svn revision 1048 from Zebra cvs. Also add missing sokopt.h includehasso2004-09-296-9/+15
| | | | to ospf6_network.h.
* I think that it's better to report bugs into Bugzilla.hasso2004-09-281-1/+1
|
* CVS ignores symlinks, but I recently updated update-autotools to havepaul2004-09-281-0/+3
| | | | libtool copy files rather than symlink. Ignore these now copied files.
* This code didn't survive valgrinding. I wonder how it survived normal run.hasso2004-09-272-0/+7
|
* 2004-09-27 Paul Jakma <paul@dishone.st>paul2004-09-273-22/+38
| | | | | | | | | | * ospf_dump.c: (ospf_ip_header_dump) Use HAVE_IP_HDRINCL_BSD_ORDER Apply to offset too. Print ip_cksum, lets not worry about possible 2.0.37 compile problems. * ospf_packet.c: (ospf_swap_iph_to{n,h}) Use HAVE_IP_HDRINCL_BSD_ORDER. (ospf_recv_packet) ditto. (ospf_write) Fixup iov argument to ospf_write_frags.
* 2004-09-27 Paul Jakma <paul@dishone.st>paul2004-09-272-0/+43
| | | | | | | * zebra.h: Add WANT_OSPF_WRITE_FRAGMENT for ospfd to try to fragment oversized packets. Enabled only for Linux. Add HAVE_IP_HDRINCL_BSD_ORDER to define struct ip byte order, to consolidate various ad-hoc platform defines for same thing.
* 2004-09-27 Paul Jakma <paul@dishone.st>paul2004-09-272-1/+7
| | | | | | * update-autotools: libtoolize should copy files, rather than link. the whole idea is that dist files should not need auto*, etc. installed to be able to compile.
* 2004-09-27 Paul Jakma <paul@dishone.st>paul2004-09-272-4/+10
| | | | | | | | * ospf_packet.c: (ospf_write) (struct msghdr).msg_name is caddr_t on most platforms. (ospf_recv_packet) ditto. And msg_flags is not always there memset struct then set fields we care about rather than initialise all fields individually.
* Brown paperbag please. Fix previous commit.hasso2004-09-262-5/+13
|
* Compiler warning fix.hasso2004-09-262-1/+5
|
* Compiler warnings fixes.hasso2004-09-2616-71/+64
|
* Fix compiler warning.hasso2004-09-262-0/+5
|
* Compiler warnings fixes.hasso2004-09-2621-31/+58
|
* Compiler warnings fixes.hasso2004-09-263-4/+9
|
* Compile with gcc-4.0.hasso2004-09-262-2/+7
|
* * isisd.c: thread_master *master is already defined in isis_main.c.hasso2004-09-246-19/+25
| | | | | * isis_misc.[c|h], isis_lsp.[c|h]: Move static variables out of header files.
* 2004-09-24 Paul Jakma <paul@dishone.st>paul2004-09-242-2/+7
| | | | | * irdp_interface.c: (no_ip_irdp_address_preference_cmd) add missing listnode declaration.
* 2004-09-24 Paul Jakma <paul@dishone.st>paul2004-09-246-95/+99
| | | | | | | | | | | | * irdp_{interface,main}.c: lists typedef removal cleanup. update some list loops to LIST_LOOP. some miscellaneous style and indent fixups. (no_ip_irdp_address_preference_cmd) Fix delete of referenced node in loop. * irdp_packet.c: (irdp_recvmsg) Fix buggy assignment of integer to pointer. * if_ioctl{,_solaris}.c: lists typedef removal cleanup. update some list loops to LIST_LOOP.
* 2004-09-24 Paul Jakma <paul@dishone.st>paul2004-09-242-3/+5
| | | | | | * ospf_apiserver.{c,h}: (ospf_apiserver_term) loops calling ospf_apiserver_free, which deletes referenced nodes from apiserver_list, fixed.
* forgot to commit changelog..paul2004-09-241-0/+3
|
* 2004-09-24 Paul Jakma <paul@dishone.st>paul2004-09-241-61/+76
| | | | | | * ospf_packet.c: (ospf_write) ifdef fragmentation support. move actual fragmentation out to a new, similarly ifdefed, function. (ospf_write_frags) fragmented write support, moved from previous.
* 2004-09-24 Paul Jakma <paul@dishone.st>paul2004-09-248-376/+353
| | | | | | | | | | | | | * ospf_apiserver.{c,h}: lists typedef removal cleanup. update some list loops to LIST_LOOP. some miscellaneous indent fixups. (ospf_apiserver_unregister_opaque_type) fix listnode_delete of referenced node in loop. * ospf_interface.h: lists typedef removal cleanup. * ospf_opaque.{c,h}: lists typedef removal cleanup. update some list loops to LIST_LOOP. miscellaneous style and indent fixups. * ospf_te.{c,h}: ditto * ospf_packet.c: lists typedef removal cleanup.
* Remove usage of evil list and listnode typedefs.hasso2004-09-2362-409/+441
|
* 2004-09-22 Paul Jakma <paul.jakma@sun.com>paul2004-09-222-1/+7
| | | | | | * zserv.c: (zsend_route_multipath) fix nasty bad memset of struct in_addr to sizeof(struct in6_addr), causing odd and hard to debug crash.
* 2004-09-17 Paul Jakma <paul@dishone.st>paul2004-09-212-2/+6
| | | | * sockopt.c: Add missing bracket
* Yet another DIS election fix from LIU Xin - update dis_record ofhasso2004-09-212-1/+14
| | | | adjacencies when isisd becomes DIS.
* Make "C" vendor routers happy - put correct prefix addresses intohasso2004-09-212-4/+12
| | | | reachability TLV's. Somehow it wasn't problem for "J" vendor routers.
* 2004-09-20 LIU Xin <lx at ns.6test.edu.cn>hasso2004-09-204-44/+27
| | | | | | | * isis_dr.c, isis_events.c: Remove hello multiplier usage while scheduling DIS election. * isis_pdu.c: Don't call isis_event_dis_status_change() whenever l[1|2]_desig_is is different from hdr.lan_id.
* Rework of SPF threads schedule logic. I'm not 100% sure whether it's righthasso2004-09-194-58/+115
| | | | | | thing to do to have completely separate threads for IPv4 and IPv6 SPF though. But it works and it's now possible to have both IPv4 and IPv6 enabled in interface. One bug fixed in LSP regeneration scheduling as well.
* 2004-09-17 Paul Jakma <paul@dishone.st>paul2004-09-177-11/+33
| | | | | | | | * ripngd/ripngd.c: move setsockopt_so_recvbuf to lib. * lib/sockopt.{c,h}: Add setsockopt_so_recvbuf, for ripd and ripngd. * ripd/ripd.c: set receive buffer to a decent size, some systems have low defaults. Problem noted and fix suggested by Stephan Schweizer in [zebra 20967].
* Another great little fix from LIU Xin.hasso2004-09-172-6/+7
|
* 2004-09-17 Paul Jakma <paul@dishone.st>paul2004-09-172-11/+31
| | | | | * vtysh.c: (vtysh_client_execute) trailling NULLs can be arbitrarily split across reads, dont get confused by this and block forever.
* There is several new RFCs ...hasso2004-09-151-6/+7
|
* Second part of fixes from Laurent Rabret.hasso2004-09-155-46/+75
|