NetBSD/sys/netinet
heas 2d4ced7c82 For controllers (eg: hme & gem) that can only perform linear hardware checksums
(from an offset to the end of the packet), the pseudo-header checksum must be
calculated by software.  So, provide it in the TCP/UDP header when
M_CSUM_NO_PSEUDOHDR is set in the interface's if_csum_flags_tx.

The start offset, the end of the IP header, is also provided in the high 16
bits of pkthdr.csum_data.  Such that the driver need not examine the packet
at all.

XXX At the request of Jonathan Stone, note that sharing of if_csum_flags_tx &
    pkthdr.csum_flags for checksum quirks should be re-evaluated.
2005-02-12 23:25:29 +00:00
..
Makefile move ipf headers and add a comment. 2004-10-05 04:55:48 +00:00
files.ipfilter Move ipf to sys/dist/ipf; Note that I followed the pattern used for pf. 2004-10-01 15:24:45 +00:00
files.netinet compile tcp_debug.c only if the TCP_DEBUG option is set, 2005-01-13 19:09:40 +00:00
icmp6.h
icmp_var.h Remove a common (icmpstat). 2004-08-03 13:58:59 +00:00
if_arp.c de-__P, do some ANSIfication. 2005-02-02 21:41:01 +00:00
if_atm.c de-__P, do some ANSIfication. 2005-02-02 21:41:01 +00:00
if_atm.h
if_ether.h
if_inarp.h
igmp.c ANSIfy function prototypes. (Still have about 3/5ths of the C files in 2005-02-03 03:49:01 +00:00
igmp.h
igmp_var.h
in.c ANSIfy function prototypes. (Still have about 3/5ths of the C files in 2005-02-03 03:49:01 +00:00
in.h Add RFC 3378 EtherIP support, ported from OpenBSD to NetBSD by 2005-01-31 23:49:36 +00:00
in4_cksum.c ANSIfy function prototypes. (Still have about 3/5ths of the C files in 2005-02-03 03:49:01 +00:00
in_cksum.c ANSIfy function prototypes. (Still have about 3/5ths of the C files in 2005-02-03 03:49:01 +00:00
in_gif.c ANSIfy function prototypes. (Still have about 3/5ths of the C files in 2005-02-03 03:49:01 +00:00
in_gif.h Add RFC 3378 EtherIP support, ported from OpenBSD to NetBSD by 2005-01-31 23:49:36 +00:00
in_pcb.c ANSIfy function prototypes. (Still have about 3/5ths of the C files in 2005-02-03 03:49:01 +00:00
in_pcb.h Add support for IPsec Network Address Translator traversal (NAT-T), as 2005-02-12 12:31:07 +00:00
in_pcb_hdr.h
in_proto.c Add support for IPsec Network Address Translator traversal (NAT-T), as 2005-02-12 12:31:07 +00:00
in_systm.h
in_var.h Add IFNET_FOREACH and IFADDR_FOREACH macros and start using them. 2005-01-24 21:25:09 +00:00
ip.h
ip6.h typo. Bruno Rohee 2004-07-09 09:15:02 +00:00
ip_ecn.c ANSIfy function prototypes. (Still have about 3/5ths of the C files in 2005-02-03 03:49:01 +00:00
ip_ecn.h
ip_encap.c ANSIfy function prototypes. (Still have about 3/5ths of the C files in 2005-02-03 03:49:01 +00:00
ip_encap.h de-__P -- will ANSIfy .c files later. 2005-02-02 21:41:55 +00:00
ip_flow.c KNF + slightly ANSIfy 2005-02-03 22:43:34 +00:00
ip_gre.c some ANSIfying, and remove an unsightly tab 2005-02-03 22:45:28 +00:00
ip_gre.h
ip_icmp.c ANSIfy function declarations 2005-02-03 22:51:50 +00:00
ip_icmp.h
ip_id.c
ip_input.c ANSIfy function declarations 2005-02-03 22:51:50 +00:00
ip_mroute.c ANSIify function declarations 2005-02-03 23:08:43 +00:00
ip_mroute.h IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on 2004-09-04 23:29:44 +00:00
ip_output.c For controllers (eg: hme & gem) that can only perform linear hardware checksums 2005-02-12 23:25:29 +00:00
ip_var.h Don't perform checksums on loopback interfaces. They can be reenabled with 2004-12-15 04:25:19 +00:00
pim.h IPv4 PIM support, based on submission from Pavlin Radoslavov on tech-net@ : 2004-09-04 23:32:29 +00:00
pim_var.h IPv4 PIM support, based on submission from Pavlin Radoslavov on tech-net@ : 2004-09-04 23:32:29 +00:00
raw_ip.c ANSIfy function declarations 2005-02-03 23:13:20 +00:00
tcp.h remove TCPOPT_MD5SIGNATURE because no one in our tree uses it 2004-12-07 14:24:04 +00:00
tcp_debug.c ANSIfy function declarations 2005-02-03 23:25:22 +00:00
tcp_debug.h
tcp_fsm.h
tcp_input.c ANSIfy function declarations 2005-02-03 23:39:32 +00:00
tcp_output.c ANSIfy function declarations 2005-02-03 23:39:32 +00:00
tcp_seq.h
tcp_subr.c ntohs->htons for ip6 plen (payload length). 2005-02-12 01:24:07 +00:00
tcp_timer.c ANSIfy function declarations 2005-02-03 23:50:33 +00:00
tcp_timer.h
tcp_usrreq.c ANSIfy function declarations 2005-02-03 23:50:33 +00:00
tcp_var.h Update tcp_trace() prototype to match implementation. 2005-02-06 20:13:09 +00:00
tcpip.h
udp.h Add support for IPsec Network Address Translator traversal (NAT-T), as 2005-02-12 12:31:07 +00:00
udp_usrreq.c Add support for IPsec Network Address Translator traversal (NAT-T), as 2005-02-12 12:31:07 +00:00
udp_var.h Add support for IPsec Network Address Translator traversal (NAT-T), as 2005-02-12 12:31:07 +00:00