summaryrefslogtreecommitdiffstats
path: root/zebra/irdp_interface.c
Commit message (Collapse)AuthorAgeFilesLines
* 2005-03-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2005-03-301-33/+36
| | | | | | | | | | | | | | | | | | | | | | | * irdp.h: Add prototype for irdp_sock_init, and fix protos for other irdp_* functions. * irdp_interface.c: (irdp_if_start) If irdp_sock is negative, call irdp_sock_init to create the IRDP socket. (irdp_if_init) Rename to irdp_init(). (get_iflist_ifp) Remove function that is a duplicate of if_lookup_by_index. (*) Make many functions static. And remove superfluous "\n" from several zlog messages. * irdp_main.c: (irdp_init) Remove function that used to call irdp_if_init() and irdp_sock_init(), since we will now create the socket only upon first use. (irdp_sock_init) Do not update global irdp_sock variable, just return the fd and assume that the caller will do so. If setsockopt calls fail, close the socket before returning -1. (*) Make many functions static. * irdp_packet.c: Initialize irdp_sock to -1. (irdp_read_raw) Call standard library function if_lookup_by_index instead of get_iflist_ifp. (irdp_recvmsg) Should be static, not global.
* 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-12-071-9/+9
| | | | * *.c: Change level of debug messages to LOG_DEBUG.
* Unbreak vtysh - don't add comments inside of DEFUN, it breaks extract.pl.hasso2004-11-251-8/+5
|
* 2004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-201-1/+1
| | | | | * global: Replace strerror with safe_strerror. And vtysh/vtysh.c needs to include "log.h" to pick up the declaration.
* Some compiler warnings fixes and fix for bugzilla #119.hasso2004-10-121-3/+3
|
* Compiler warnings fixes.hasso2004-09-261-1/+1
|
* 2004-09-24 Paul Jakma <paul@dishone.st>paul2004-09-241-1/+1
| | | | | * irdp_interface.c: (no_ip_irdp_address_preference_cmd) add missing listnode declaration.
* 2004-09-24 Paul Jakma <paul@dishone.st>paul2004-09-241-43/+42
| | | | | | | | | | | | * 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.
* Cosmetical fixes in vty help.hasso2004-09-111-0/+3
|
* 1) extract.pl is braindead, but I will not touch it willingly.hasso2004-07-121-9/+9
| | | | 2) Following common style is always better anyway.
* OK, here it is - irdp support. But don't expect me to fix any bugs in it.hasso2004-06-121-0/+784