diff options
author | tuexen <tuexen@FreeBSD.org> | 2010-08-29 18:50:30 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2010-08-29 18:50:30 +0000 |
commit | ff0f13be619dafe05ca0a216f79368d4c793a420 (patch) | |
tree | c683856a6c329e114bb11002250dfde16a196871 /sys/netinet/sctp_sysctl.h | |
parent | c7313507efc899f693f73ecc1b97b23563178ad5 (diff) | |
download | FreeBSD-src-ff0f13be619dafe05ca0a216f79368d4c793a420.zip FreeBSD-src-ff0f13be619dafe05ca0a216f79368d4c793a420.tar.gz |
Fix the the SCTP_WITH_NO_CSUM option when used in combination with
interface supporting CRC offload. While at it, make use of the
feature that the loopback interface provides CRC offloading.
MFC after: 4 weeks
Diffstat (limited to 'sys/netinet/sctp_sysctl.h')
-rw-r--r-- | sys/netinet/sctp_sysctl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/sctp_sysctl.h b/sys/netinet/sctp_sysctl.h index 477ee36..1140b97 100644 --- a/sys/netinet/sctp_sysctl.h +++ b/sys/netinet/sctp_sysctl.h @@ -45,7 +45,9 @@ struct sctp_sysctl { uint32_t sctp_ecn_enable; uint32_t sctp_ecn_nonce; uint32_t sctp_strict_sacks; +#if !defined(SCTP_WITH_NO_CSUM) uint32_t sctp_no_csum_on_loopback; +#endif uint32_t sctp_strict_init; uint32_t sctp_peer_chunk_oh; uint32_t sctp_max_burst_default; |