summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_sysctl.h
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2010-08-29 18:50:30 +0000
committertuexen <tuexen@FreeBSD.org>2010-08-29 18:50:30 +0000
commitff0f13be619dafe05ca0a216f79368d4c793a420 (patch)
treec683856a6c329e114bb11002250dfde16a196871 /sys/netinet/sctp_sysctl.h
parentc7313507efc899f693f73ecc1b97b23563178ad5 (diff)
downloadFreeBSD-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.h2
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;
OpenPOWER on IntegriCloud