NetBSD/sys/netinet
itojun 42bede79da allow IP_MULTICAST_IF and IP_ADD/DROP_MEMBERSHIP to specify interface
by interface index.  if the interface address specified is in 0.0.0.0/8
it will be considered as interface index in network byteorder.

getsockopt(IP_MULTICAST_IF) preserves old behavior if
setsockopt(IP_MULTICAST_IF) was done with interface address, and
returns interface index if setsockopt(IP_MULTICAST_IF) was done with
interface index (again using the form in 0.0.0.0/8).

Suggested by Dave Thaler, based on RIPv2 MIB spec (RFC1724 section 3.3).

http://mail-index.netbsd.org/tech-net/2001/01/13/0003.html
2001-01-13 07:19:33 +00:00
..
fil.c Due to a quirk (err, bug?) in IP Filter (mbuf freed without setting *mp 2000-11-12 19:50:47 +00:00
icmp6.h update icmp6 too big validation. the change is necessary since pmtud is 2000-12-09 01:29:45 +00:00
icmp_var.h count successful path MTU changes. good for debugging. 2000-10-18 19:20:02 +00:00
if_arp.c
if_atm.c
if_atm.h
if_ether.h
if_ieee1394arp.c First Prototype implementation of network interface part for IEEE1394 (if_fw). 2000-11-05 17:17:12 +00:00
if_ieee1394arp.h First Prototype implementation of network interface part for IEEE1394 (if_fw). 2000-11-05 17:17:12 +00:00
if_inarp.h
igmp_var.h
igmp.c
igmp.h
in4_cksum.c
in_cksum.c
in_gif.c
in_gif.h
in_pcb.c Update for hashinit() change. 2000-11-08 14:28:12 +00:00
in_pcb.h
in_proto.c Restructure the Path MTU Discovery code somewhat to avoid 2000-10-18 17:09:14 +00:00
in_systm.h
in_var.h - Keep track of allhost multicast address record we joined into 2000-10-08 09:15:28 +00:00
in.c - Keep track of allhost multicast address record we joined into 2000-10-08 09:15:28 +00:00
in.h
ip6.h sync with kame ($KAME$) 2000-10-10 16:26:43 +00:00
ip_auth.c
ip_auth.h
ip_compat.h
ip_ecn.c
ip_ecn.h
ip_encap.c
ip_encap.h
ip_fil.c Fix a small typo that would cause IP Filter to not hook in to 2000-12-28 21:42:49 +00:00
ip_fil.h Restructure the PFIL_HOOKS mechanism a bit: 2000-11-11 00:52:36 +00:00
ip_flow.c
ip_frag.c
ip_frag.h
ip_ftp_pxy.c
ip_gre.c Adapt to bpfattach() changes, and further centralize the bpfattach() 2000-12-12 18:00:22 +00:00
ip_gre.h
ip_icmp.c s/mtudisc_callback/icmp_&/ so that we don't feel conflict between IPv4 and 2000-10-18 20:34:00 +00:00
ip_icmp.h Restructure the Path MTU Discovery code somewhat to avoid 2000-10-18 17:09:14 +00:00
ip_input.c Back out the sledgehammer damage applied by wiz while I was out for 2000-12-28 21:40:59 +00:00
ip_ipip.c Pull in BPF includes. 2000-12-18 20:58:13 +00:00
ip_ipip.h
ip_log.c
ip_mroute.c Update for hashinit() change. 2000-11-08 14:28:12 +00:00
ip_mroute.h
ip_nat.c
ip_nat.h
ip_output.c allow IP_MULTICAST_IF and IP_ADD/DROP_MEMBERSHIP to specify interface 2001-01-13 07:19:33 +00:00
ip_proxy.c
ip_proxy.h
ip_raudio_pxy.c
ip_rcmd_pxy.c
ip_state.c
ip_state.h
ip_var.h allow IP_MULTICAST_IF and IP_ADD/DROP_MEMBERSHIP to specify interface 2001-01-13 07:19:33 +00:00
ip.h
ipl.h
Makefile
raw_ip.c
tcp_debug.c
tcp_debug.h
tcp_fsm.h
tcp_input.c remove NRL code leftover. sync with kame 2000-12-10 23:39:36 +00:00
tcp_output.c fix IPv4 TTL selection with AF_INET6 API. sync with kame. From: jdc 2000-11-06 00:50:12 +00:00
tcp_seq.h
tcp_subr.c fix call to in6_pcbnotify. s/EMSGSIZE/PRC_MSGSIZE/. 2000-12-21 00:45:17 +00:00
tcp_timer.c remove #ifdef TCP6. it is not likely for us to bring in sys/netinet6/tcp6*.c 2000-10-19 20:22:59 +00:00
tcp_timer.h
tcp_usrreq.c make sure t_family has the correct protocol family, after connect(2) 2000-12-11 00:07:48 +00:00
tcp_var.h remove #ifdef TCP6. it is not likely for us to bring in sys/netinet6/tcp6*.c 2000-10-19 20:22:59 +00:00
tcp.h
tcpip.h
udp_usrreq.c more on previous (udp4 multicast fix) 2000-12-04 11:24:20 +00:00
udp_var.h
udp.h