summaryrefslogtreecommitdiffstats
path: root/lib/if.c
Commit message (Collapse)AuthorAgeFilesLines
* 2004-07-17 Paul Jakma <paul@dishone.st>paul2004-07-171-1/+11
| | | | * if.c: (if_cmp_func) Add comment suggested by Greg Troxel.
* 2004-07-09 Juris Kalnins <juris@mt.lv>paul2004-07-091-1/+5
| | | | | * if.c: (if_cmp_func) fix for interface names where name is same, but one has no number, eg "devtyp" and "devtyp0".
* 2004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>paul2004-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | * filter.c: (access_list_remark_cmd) buffer_putstr doesnt need cast to u_char. (ipv6_access_list_remark_cmd) ditto. if.c: ditto * network.c: (readn/writen) pointer arg should be type u_char. * plist.c: needs to include stream.h, not declare stream functions internally. (various) Add static qualifier to internal functions. (prefix_list_type_str) extraneous breaks in switch statement. (ip_prefix_list_description_cmd) buffer_putstr doesnt need cast * stream.h: depends on plist.h and export stream_put_prefix * vty.c: (vty_<telnet option build functions>) should use unsigned char, telnet options are 0 -> 255. * zclient.c: various u_char<->char type cleanups. * zebra.h: Having to define CMSG_* can apply to more than just BSDI_NRL. * ripd.c: (rip_distribute_update_all) distribute list hook function pointer prototype requires struct prefix_list * arg. (rip_distribute_update_all_wrapper) update to pass required arg, NULL.
* 2004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>paul2004-05-081-2/+35
| | | | | | | | | * if.h: Add mtu6 field to struct interface, IPv6 MTU may differ from IPv4, and Solaris treats the MTU's differently. Add connected_add_by_prefix, for use by later patch. * if.c: (connected_add_by_prefix) Add prefix to connected list. (if_flag_dump) Solaris: Dump IFF_IPv4/6 flag (if_dump) Dump mtu6 flag, for HAVE_IPV6.
* lib/if.c part from [quagga-dev 552] and lib/inklist.c part from [quagga-devhasso2003-12-211-1/+2
| | | | 555]. Okayed by Paul.
* 2003-10-27 Paul Jakma <paul@dishone.st>paul2003-10-271-24/+0
| | | | | * lib/if.{ch}: remove ifc_pointtopoint() - left over from the reverted RFC3021 patch.
* 2003-09-29 Paul Jakma <paul@dishone.st>paul2003-09-291-13/+21
| | | | | | | | | | | | | | * zebra/connected.c: revert the 'generic PtP' patch as it causes far too many problems. People who use FreeSWAN should investigate native linux ipsec. * zebra/rt_netlink.c: ditto * lib/if.c: ditto * ripd/ripd.h: ditto * ripd/ripd.c: ditto * ripd/rip_interface.c: ditto * ospfd/ospfd.c: ditto * ospfd/ospf_snmp.c: ditto * bgpd/bgp_nexthop.c: ditto
* 2003-09-24 sowmini.varadhan@sun.compaul2003-09-231-1/+6
| | | | | * lib/if.c: (if_cmp_func) fix infinite loop if ifp1->name == ifp2->name
* 2003-08-01 Cougar <cougar@random.ee>paul2003-08-011-11/+58
| | | | | | | | | | | | | | * lib/if.c: (if_cmp_func) new function, compare interface names in alphabetical order. (if_create) Take name as argument and add interface in sorted order. (if_get_by_name),(interface_cmd) fixup calls to if_create - see above. (if_init) register list comparison function. * lib/if.h: Add comparison function, modify if_create prototype. * lib/zclient.c: Modify call to if_create. * ospfd/ospf_interface.c: (ospf_vl_new) modify call to if_create. change sprintf to snprintf. * zebra/kernel_socket.c: (ifm_read) modify call to if_create.
* 2003-06-07 Paul Jakma <paul@dishone.st>paul2003-06-061-58/+11
| | | | | * Revert Cougar's sort interface names patch, causes problems with enabling of interfaces for OSPF in ospfd.
* Patch from Cougar - sort iflist by name.hasso2003-06-051-11/+58
|
* From: Hasso Tepper <hasso@estpak.ee>paul2003-05-241-2/+6
| | | | ensure only interfaces that are inactive or do not exist can be deleted
* From: Hasso Tepper <hasso@estpak.ee>paul2003-05-231-0/+26
| | | | | | | | Add the 'no interface' command to all the daemons and vtysh. now it's possible to delete interface from routeing daemons as well only if it doesn't exist in os. http://hasso.linux.ee/zebra/ht-no_interface_fix.patch
* Undo Hasso last patch, about to apply a slightly updated patch.paul2003-05-231-26/+0
|
* From: Hasso Tepper <hasso@estpak.ee>paul2003-05-231-0/+26
| | | | | | http://hasso.linux.ee/zebra/ht-no_interface-23052003.patch Add the 'no interface' command to all the daemons and vtysh.
* [zebra 14631] Generic PtP and RFC3021 interface addressing supportpatch_z14631_ptp_rfc3021paul2002-12-131-21/+13
|
* zebra link state detection supportpatch_z12269_linkstatepaul2002-12-131-0/+16
|
* Added RIPv1 patch - bug fixes and improved/more interoperable classfulpatch_z15769_ripv1paul2002-12-131-0/+59
| | | | subnet handling
* Initial revisionpaul2002-12-131-0/+713