freebsd-dev/sys/netinet
Julian Elischer 436c7212e6 Hide the interface name in the sin_zero section of the sockaddr_in
passed to the user process for incoming packets. When the sockaddr_in
is passed back to the divert socket later, use thi sas the primary
interface lookup and only revert to the IP address when the name fails.
This solves a long standing bug with divert sockets:
When two interfaces had the same address (P2P for example) the interface
"assigned" to the reinjected packet was sometimes incorect.
Probably we should define a "sockaddr_div" to officially hold this
extended information in teh same manner as sockaddr_dl.
1998-05-25 08:44:31 +00:00
..
libalias Primary verison of NetBIOS over TCP/IP. Now you can connect Windows 1998-05-24 03:03:10 +00:00
fil.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
icmp_var.h
if_atm.c
if_atm.h
if_ether.c Get more details on the "arpresolve: can't allocate llinfo" bogon. 1998-05-23 08:03:40 +00:00
if_ether.h
if_fddi.h
igmp_var.h
igmp.c
igmp.h
in_cksum.c
in_hostcache.c
in_hostcache.h
in_pcb.c Convert socket structures to be type-stable and add a version number. 1998-05-15 20:11:40 +00:00
in_pcb.h Convert socket structures to be type-stable and add a version number. 1998-05-15 20:11:40 +00:00
in_proto.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
in_rmx.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
in_systm.h
in_var.h Added fast IP forwarding code by Matt Thomas <matt@3am-software.com> via 1998-05-19 14:04:36 +00:00
in.c
in.h Added fast IP forwarding code by Matt Thomas <matt@3am-software.com> via 1998-05-19 14:04:36 +00:00
ip_auth.c Some patchups for when this code is compiled in userland (!). 1998-03-21 13:37:44 +00:00
ip_auth.h
ip_compat.h
ip_divert.c Hide the interface name in the sin_zero section of the sockaddr_in 1998-05-25 08:44:31 +00:00
ip_fil.c allow open on all minors 1998-03-27 18:03:13 +00:00
ip_fil.h Some patchups for when this code is compiled in userland (!). 1998-03-21 13:37:44 +00:00
ip_flow.c Fix a typo-bug in ipflow_reap that could cause a NULL pointer 1998-05-19 17:47:11 +00:00
ip_flow.h Move (private) struct ipflow out of ip_var.h, to reduce dependencies 1998-05-19 15:53:50 +00:00
ip_frag.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
ip_frag.h
ip_ftp_pxy.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
ip_fw.c Added fast IP forwarding code by Matt Thomas <matt@3am-software.com> via 1998-05-19 14:04:36 +00:00
ip_fw.h
ip_icmp.c
ip_icmp.h
ip_input.c The ipt_ptr field is 1-based (see TCP/IP Illustrated, Vol. 1, pp. 91-95), 1998-05-24 14:59:57 +00:00
ip_log.c Use read_random() 1998-04-06 11:40:42 +00:00
ip_mroute.c Seventy-odd "its" / "it's" typos in comments fixed as per kern/6108. 1998-04-17 22:37:19 +00:00
ip_mroute.h
ip_nat.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
ip_nat.h
ip_output.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
ip_proxy.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
ip_proxy.h
ip_state.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
ip_state.h
ip_var.h Move (private) struct ipflow out of ip_var.h, to reduce dependencies 1998-05-19 15:53:50 +00:00
ip.h
ipl.h
mlf_ipl.c In the words of the submitter: 1998-05-07 04:58:58 +00:00
raw_ip.c Convert socket structures to be type-stable and add a version number. 1998-05-15 20:11:40 +00:00
tcp_debug.c
tcp_debug.h
tcp_fsm.h
tcp_input.c Grumble...It seems I'm suffering from some mental disease. Do it correct now. 1998-05-18 17:11:24 +00:00
tcp_output.c Take IP options into account when calculating the allowable length 1998-05-24 18:41:04 +00:00
tcp_reass.c Grumble...It seems I'm suffering from some mental disease. Do it correct now. 1998-05-18 17:11:24 +00:00
tcp_seq.h
tcp_subr.c Convert socket structures to be type-stable and add a version number. 1998-05-15 20:11:40 +00:00
tcp_timer.c Ensure that TCP_REXMTVAL doesn't return a value less than t_rttmin. This 1998-04-24 09:25:39 +00:00
tcp_timer.h
tcp_timewait.c Convert socket structures to be type-stable and add a version number. 1998-05-15 20:11:40 +00:00
tcp_usrreq.c
tcp_var.h Convert socket structures to be type-stable and add a version number. 1998-05-15 20:11:40 +00:00
tcp.h
tcpip.h
udp_usrreq.c Convert socket structures to be type-stable and add a version number. 1998-05-15 20:11:40 +00:00
udp_var.h Convert socket structures to be type-stable and add a version number. 1998-05-15 20:11:40 +00:00
udp.h