6e869e402d
- All three functions are included in the kernel by default. They call a backend function cpu_in_cksum after possibly computing the checksum of the pseudo header. - cpu_in_cksum is the core to implement the one-complement sum. The default implementation is moderate fast on most platforms and provides a 32bit accumulator with 16bit addends for L32 platforms and a 64bit accumulator with 32bit addends for L64 platforms. It handles edge cases like very large mbuf chains (could happen with native IPv6 in the future) and provides a good base for new native implementations. - Modify i386 and amd64 assembly to use the new interface. This disables the MD implementations on !x86 until the conversion is done. For Alpha, the portable version is faster.
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
# $NetBSD: files.netinet,v 1.20 2008/01/25 21:12:14 joerg Exp $
|
|
|
|
defflag opt_tcp_debug.h TCP_DEBUG
|
|
defparam opt_tcp_debug.h TCP_NDEBUG
|
|
defflag opt_inet.h INET INET6 TCP_SIGNATURE
|
|
TCP_OUTPUT_COUNTERS TCP_REASS_COUNTERS IPSELSRC
|
|
defparam opt_inet_conf.h SUBNETSARELOCAL HOSTZEROBROADCAST
|
|
|
|
defflag MROUTING
|
|
defflag PIM
|
|
defflag TCP_COMPAT_42
|
|
|
|
defparam opt_tcp_space.h TCP_RECVSPACE TCP_SENDSPACE
|
|
|
|
defflag opt_inet_csum.h INET_CSUM_COUNTERS TCP_CSUM_COUNTERS
|
|
UDP_CSUM_COUNTERS
|
|
|
|
defparam opt_tcp_congctl.h TCP_CONGCTL_DEFAULT
|
|
|
|
file netinet/igmp.c inet
|
|
file netinet/in.c inet
|
|
file netinet/in_offload.c inet
|
|
file netinet/in_pcb.c inet
|
|
file netinet/in_proto.c inet
|
|
file netinet/in_selsrc.c inet & ipselsrc
|
|
file netinet/ip_flow.c inet & gateway
|
|
file netinet/ip_icmp.c inet
|
|
file netinet/ip_id.c inet
|
|
file netinet/ip_input.c inet
|
|
file netinet/ip_mroute.c inet & mrouting
|
|
file netinet/ip_output.c inet
|
|
file netinet/raw_ip.c inet
|
|
|
|
file netinet/tcp_debug.c (inet | inet6) & tcp_debug
|
|
file netinet/tcp_input.c inet | inet6
|
|
file netinet/tcp_output.c inet | inet6
|
|
file netinet/tcp_sack.c inet | inet6
|
|
file netinet/tcp_subr.c inet | inet6
|
|
file netinet/tcp_timer.c inet | inet6
|
|
file netinet/tcp_usrreq.c inet | inet6
|
|
file netinet/tcp_congctl.c inet | inet6
|
|
|
|
file netinet/udp_usrreq.c inet | inet6
|