diff options
author | tuexen <tuexen@FreeBSD.org> | 2014-08-03 18:12:55 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2014-08-03 18:12:55 +0000 |
commit | ff18393ff054f8f8f4779a04e260ff6549b44e78 (patch) | |
tree | 88dfe8df411bcdde9f67d745992545bd2736f499 /sys/netinet/sctp_peeloff.c | |
parent | 2399792c1722d8038876b8e9561d850e5c8719cc (diff) | |
download | FreeBSD-src-ff18393ff054f8f8f4779a04e260ff6549b44e78.zip FreeBSD-src-ff18393ff054f8f8f4779a04e260ff6549b44e78.tar.gz |
Add support for the SCTP_PKTDROP_SUPPORTED socket option and
the corresponding sysctl variable.
The default is off, since the specification is not an RFC yet.
MFC after: 1 week
Diffstat (limited to 'sys/netinet/sctp_peeloff.c')
-rw-r--r-- | sys/netinet/sctp_peeloff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/sctp_peeloff.c b/sys/netinet/sctp_peeloff.c index b1ea310..2aa691d 100644 --- a/sys/netinet/sctp_peeloff.c +++ b/sys/netinet/sctp_peeloff.c @@ -121,6 +121,7 @@ sctp_do_peeloff(struct socket *head, struct socket *so, sctp_assoc_t assoc_id) n_inp->ecn_supported = inp->ecn_supported; n_inp->prsctp_supported = inp->prsctp_supported; n_inp->nrsack_supported = inp->nrsack_supported; + n_inp->pktdrop_supported = inp->pktdrop_supported; n_inp->partial_delivery_point = inp->partial_delivery_point; n_inp->sctp_context = inp->sctp_context; n_inp->local_strreset_support = inp->local_strreset_support; |