From e6822768a281a5d46d497c0bbfe5ffd2a10c78c8 Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 19 Aug 2004 04:13:29 +0000 Subject: 2004-08-19 Paul Jakma 2004-08-19 Paul Jakma * sockopt.c: include sockopt.h rename some of the _pktinfo_ functions to _ifindex, where that is their purpose. (getsockopt_ipv6_pktinfo_ifindex) renamed to getsockopt_ipv6_ifindex. (setsockopt_ipv4_pktinfo) renamed to setsockopt_ipv4_ifindex (setsockopt_pktinfo) update with previous and add comment re AF_INET portability. (setsockopt_ifindex) generic ifindex function ala setsockopt_pktinfo. (getsockopt_ipv4_pktinfo_ifindex) renamed to getsockopt_ipv4_ifindex. (getsockopt_ipv4_ifindex) rejiggling to reduce repeated ifdef/elses. pktinfo case forgot to set ifindex. (getsockopt_pktinfo_ifindex) renamed to getsockopt_ifindex. update some calls to renamed functions. * sockopt.h: Update renamed exported functions Rename the CMSG_SIZE macros to IFINDEX. Guard IPv4 PKTINFO in a conditional define. --- lib/ChangeLog | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'lib/ChangeLog') diff --git a/lib/ChangeLog b/lib/ChangeLog index 421a4f0b..0e1960b1 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,25 @@ +2004-08-19 Paul Jakma + + * sockopt.c: include sockopt.h + rename some of the _pktinfo_ functions to _ifindex, where that is + their purpose. + (getsockopt_ipv6_pktinfo_ifindex) renamed to + getsockopt_ipv6_ifindex. + (setsockopt_ipv4_pktinfo) renamed to setsockopt_ipv4_ifindex + (setsockopt_pktinfo) update with previous and add comment re + AF_INET portability. + (setsockopt_ifindex) generic ifindex function ala + setsockopt_pktinfo. + (getsockopt_ipv4_pktinfo_ifindex) renamed to + getsockopt_ipv4_ifindex. + (getsockopt_ipv4_ifindex) rejiggling to reduce repeated + ifdef/elses. pktinfo case forgot to set ifindex. + (getsockopt_pktinfo_ifindex) renamed to + getsockopt_ifindex. update some calls to renamed functions. + * sockopt.h: Update renamed exported functions + Rename the CMSG_SIZE macros to IFINDEX. + Guard IPv4 PKTINFO in a conditional define. + 2004-08-18 Paul Jakma * vty.c: (vty_serv_un) set unix vty socket to nonblocking -- cgit v1.2.1