Pass down the address family through the pr_input calls. This
authorbluhm <bluhm@openbsd.org>
Fri, 14 Apr 2017 20:46:31 +0000 (20:46 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 14 Apr 2017 20:46:31 +0000 (20:46 +0000)
commit459fa0feb1e08ab4109b4bff330f1f74c94429d3
treef1e2df4d7a9791cf284ea2ef503cf04d785584c4
parent63a9683b52d917ef2aeb8f59a57cedf26bdf24d9
Pass down the address family through the pr_input calls.  This
allows to simplify code used for both IPv4 and IPv6.
OK mikeb@ deraadt@
37 files changed:
sys/net/if_etherip.c
sys/net/if_etherip.h
sys/net/if_gif.c
sys/net/if_gif.h
sys/net/if_pfsync.c
sys/net/if_pfsync.h
sys/netinet/icmp6.h
sys/netinet/igmp.c
sys/netinet/igmp_var.h
sys/netinet/ip_carp.c
sys/netinet/ip_carp.h
sys/netinet/ip_divert.h
sys/netinet/ip_ether.c
sys/netinet/ip_ether.h
sys/netinet/ip_gre.c
sys/netinet/ip_gre.h
sys/netinet/ip_icmp.c
sys/netinet/ip_icmp.h
sys/netinet/ip_input.c
sys/netinet/ip_ipip.c
sys/netinet/ip_ipsp.h
sys/netinet/ip_var.h
sys/netinet/ipsec_input.c
sys/netinet/raw_ip.c
sys/netinet/tcp_input.c
sys/netinet/tcp_var.h
sys/netinet/udp_usrreq.c
sys/netinet/udp_var.h
sys/netinet6/dest6.c
sys/netinet6/frag6.c
sys/netinet6/icmp6.c
sys/netinet6/ip6_divert.h
sys/netinet6/ip6_input.c
sys/netinet6/ip6_var.h
sys/netinet6/raw_ip6.c
sys/netinet6/route6.c
sys/sys/protosw.h