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 Add kernel counters for arp events, displayable with netstat -s -f arp 2000-08-15 20:24:57 +00:00
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 Install "show arptab" (db_show_arptab) in the ddb command tree. 2000-05-20 03:08:41 +00:00
igmp_var.h
igmp.c Don't copy M_EXT mbufs unless in "dhcp" mode. Do a mtod after the pullup 2000-06-16 20:21:26 +00:00
igmp.h
in4_cksum.c
in_cksum.c
in_gif.c RFCs 1853, 2003, 2401 -- copy the DF bit. 2000-07-05 21:01:38 +00:00
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 #define<tab> cleanup. 2000-08-28 02:12:22 +00:00
ip6.h sync with kame ($KAME$) 2000-10-10 16:26:43 +00:00
ip_auth.c Resolve conflicts. 2000-08-09 21:00:39 +00:00
ip_auth.h Resolve conflicts. 2000-05-23 06:07:42 +00:00
ip_compat.h remove include of <vm/vm.h> 2000-06-28 02:59:32 +00:00
ip_ecn.c fix compilation without INET. fix confusion between ipsecstat and ipsec6stat. 2000-10-02 03:55:41 +00:00
ip_ecn.h
ip_encap.c fix compilation without INET. fix confusion between ipsecstat and ipsec6stat. 2000-10-02 03:55:41 +00:00
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 Pass the correct destination address for the route-to-gateway case. 2000-06-30 19:43:53 +00:00
ip_frag.c Ups, forgot to resolve one place. 2000-06-12 10:29:36 +00:00
ip_frag.h Resolve conflicts. 2000-05-03 11:12:03 +00:00
ip_ftp_pxy.c Resolve conflicts. 2000-08-09 21:00:39 +00:00
ip_gre.c Adapt to bpfattach() changes, and further centralize the bpfattach() 2000-12-12 18:00:22 +00:00
ip_gre.h Some slight cleanup. 2000-07-06 04:34:26 +00:00
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 Resolve conflicts. 2000-08-09 21:00:39 +00:00
ip_mroute.c Update for hashinit() change. 2000-11-08 14:28:12 +00:00
ip_mroute.h
ip_nat.c Apply fix from IWAMOTO Toshihiro in pr#10813: 2000-08-12 08:08:54 +00:00
ip_nat.h Resolve conflicts. 2000-08-09 21:00:39 +00:00
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 Resolve conflicts and fix a compile error in ip_ftp_pxy.c. 2000-05-11 19:46:05 +00:00
ip_proxy.h Resolve conflicts and fix a compile error in ip_ftp_pxy.c. 2000-05-11 19:46:05 +00:00
ip_raudio_pxy.c Resolve conflicts and fix a compile error in ip_ftp_pxy.c. 2000-05-11 19:46:05 +00:00
ip_rcmd_pxy.c Resolve conflicts. 2000-08-09 21:00:39 +00:00
ip_state.c Resolve conflicts. 2000-08-09 21:00:39 +00:00
ip_state.h Resolve conflicts. 2000-08-09 21:00:39 +00:00
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 Resolve conflicts. 2000-08-09 21:00:39 +00:00
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 added a linted comment about non-portable bitfields. Unfortunately it cannot 2000-07-05 02:45:03 +00:00
tcpip.h
udp_usrreq.c more on previous (udp4 multicast fix) 2000-12-04 11:24:20 +00:00
udp_var.h
udp.h