NetBSD/sys/netinet
lukem 8a931fcdd8 Ensure that you can only bind a more specific address when it is done by the
same uid or by root.

This code is from FreeBSD. (Whilst it was originally obtained from OpenBSD,
FreeBSD fixed it to work with multicast. To quote the commit message:
    - Don't bother checking for conflicting sockets if we're binding to a
      multicast address.
    - Don't return an error if we're binding to INADDR_ANY, the conflicting
      socket is bound to INADDR_ANY, and the conflicting socket has
      SO_REUSEPORT set.
)
1999-03-23 10:45:37 +00:00
..
Makefile Rework the way kernel include files are installed. In the new method, 1998-06-12 23:22:30 +00:00
fil.c Remove SCCS markers and make these compile in $NetBSD$ IDs. 1999-02-02 19:57:30 +00:00
icmp_var.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
if_arp.c Add support for Token-Ring source routes in the ARP cache. 1999-03-22 22:30:42 +00:00
if_atm.c Fix copyright spacing and 'Van' -> 'van' for consistency. 1998-09-13 15:45:40 +00:00
if_atm.h Fix copyright spacing and 'Van' -> 'van' for consistency. 1998-09-13 15:45:40 +00:00
if_ether.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
if_inarp.h -always do an RARP if revarpwhoarewe() is called, it might be for another 1999-02-21 15:17:14 +00:00
igmp.c Don't screw with ip_len; just subtract from it where we actually use the 1999-01-19 23:03:20 +00:00
igmp.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
igmp_var.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
in.c Reverse the copyright-notice-swap. It went against existing practice. 1998-12-19 02:46:12 +00:00
in.h Typo. :( 1998-09-14 21:15:56 +00:00
in_cksum.c backout previous kprintf changes 1996-10-13 02:03:00 +00:00
in_pcb.c Ensure that you can only bind a more specific address when it is done by the 1999-03-23 10:45:37 +00:00
in_pcb.h * in_pcblookup_port(): deprecate INPLOOKUP_WILDCARD and flags in favour 1998-10-05 14:33:14 +00:00
in_proto.c Domains are associated with protocol families, not address families. 1999-01-14 01:16:55 +00:00
in_systm.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
in_var.h Reverse the copyright-notice-swap. It went against existing practice. 1998-12-19 02:46:12 +00:00
ip.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
ip_auth.c Remove SCCS markers and make these compile in $NetBSD$ IDs. 1999-02-02 19:57:30 +00:00
ip_auth.h merge ipf 3.2.10 1998-11-22 15:17:18 +00:00
ip_compat.h merge ipf 3.2.10 1998-11-22 15:17:18 +00:00
ip_fil.c Remove SCCS markers and make these compile in $NetBSD$ IDs. 1999-02-02 19:57:30 +00:00
ip_fil.h remove this insanity. appeared with ipfilter 3.2.10... 1998-12-11 23:47:16 +00:00
ip_flow.c ~htons(...) is always negative. 1999-01-28 21:29:27 +00:00
ip_frag.c Remove SCCS markers and make these compile in $NetBSD$ IDs. 1999-02-02 19:57:30 +00:00
ip_frag.h merge ipf 3.2.10 1998-11-22 15:17:18 +00:00
ip_ftp_pxy.c add two more prototypes. noted missing by mjacob. 1998-11-22 23:30:36 +00:00
ip_gre.c Don't screw with ip_len; just subtract from it where we actually use the 1999-01-19 23:03:20 +00:00
ip_gre.h Fix some typos in comments, and clean up some whitespace. 1998-10-07 23:33:02 +00:00
ip_icmp.c There's just no plausible reason to byte-swap ip_id internally. It's opaque. 1999-01-19 23:39:56 +00:00
ip_icmp.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
ip_input.c There's just no plausible reason to byte-swap ip_id internally. It's opaque. 1999-01-19 23:39:56 +00:00
ip_ipip.c Set the tunnel destination address correctly. Should fix PR #6899. 1999-02-02 07:20:13 +00:00
ip_ipip.h Separate out the IP-in-IP implementation from the GRE code. This cleans 1999-01-11 21:26:53 +00:00
ip_log.c defopt IPFILTER_LOG 1998-12-10 15:50:59 +00:00
ip_mroute.c remove gre_softc declaration; the symbol is no longer used in this 1999-02-02 07:10:45 +00:00
ip_mroute.h Adjust for the new IP-IP input path. mrt_ipip_input() is called from 1999-01-11 21:31:03 +00:00
ip_nat.c Minor cleanup to use LONG_SUM() and CALC_SUMD() more. 1999-03-05 07:27:09 +00:00
ip_nat.h merge ipf 3.2.10 1998-11-22 15:17:18 +00:00
ip_output.c exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145 1999-03-12 22:42:30 +00:00
ip_proxy.c Remove SCCS markers and make these compile in $NetBSD$ IDs. 1999-02-02 19:57:30 +00:00
ip_proxy.h merge ipf 3.2.10 1998-11-22 15:17:18 +00:00
ip_state.c Remove SCCS markers and make these compile in $NetBSD$ IDs. 1999-02-02 19:57:30 +00:00
ip_state.h merge ipf 3.2.10 1998-11-22 15:17:18 +00:00
ip_var.h Use the pool allocator for ipflow entries. 1998-10-08 01:41:45 +00:00
raw_ip.c Make programs that use raw IP work again; trim the header length from ip_len 1999-01-30 21:43:16 +00:00
tcp.h Adapt the NEWRENO changes from the UCSB diffs of BSDI 3.0's TCP 1998-10-04 21:33:52 +00:00
tcp_debug.c backout previous kprintf change 1996-10-13 16:50:51 +00:00
tcp_debug.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
tcp_fsm.h Back out the change from TCP/IP vol 2, in revision 1.7, which removed TH_FIN 1998-07-09 05:49:56 +00:00
tcp_input.c According to Dave Borman, the iss should be using snd_nxt and not rcv_nxt 1999-02-05 22:37:24 +00:00
tcp_output.c Fix a problem pointed out by Charles Hannum; DF wasn't being set in 1999-01-20 03:39:54 +00:00
tcp_seq.h Adapt the NEWRENO changes from the UCSB diffs of BSDI 3.0's TCP 1998-10-04 21:33:52 +00:00
tcp_subr.c Don't mix in data just to stir the rnd pool. Extracting data will do that, 1999-02-28 13:41:24 +00:00
tcp_timer.c Create tcp.keepidle, tcp.keepintvl, tcp.keepcnt, tcp.slowhz sysctls. 1998-09-10 10:46:03 +00:00
tcp_timer.h Create tcp.keepidle, tcp.keepintvl, tcp.keepcnt, tcp.slowhz sysctls. 1998-09-10 10:46:03 +00:00
tcp_usrreq.c egcs {brace} warning fix 1998-09-10 19:53:28 +00:00
tcp_var.h Oops, forgot to update copyright notice in previous. 1999-01-24 01:21:18 +00:00
tcpip.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
udp.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
udp_usrreq.c Don't screw with ip_len; just subtract from it where we actually use the 1999-01-19 23:03:20 +00:00
udp_var.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00