diff options
author | tuexen <tuexen@FreeBSD.org> | 2011-09-14 08:15:21 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2011-09-14 08:15:21 +0000 |
commit | eab7de0c8f2e020f13c85e1f6c4169d552b72d8e (patch) | |
tree | bfbae5e50e0ce4c3b8e5ca776cf5fb38b53e8bf9 /sys/netinet/sctp_pcb.h | |
parent | 8494658150198f84d6b4f924e45deb4918496bb3 (diff) | |
download | FreeBSD-src-eab7de0c8f2e020f13c85e1f6c4169d552b72d8e.zip FreeBSD-src-eab7de0c8f2e020f13c85e1f6c4169d552b72d8e.tar.gz |
Fix the handling of the flowlabel and DSCP value in the SCTP_PEER_ADDR_PARAMS
socket option.
Honor the net.inet6.ip6.auto_flowlabel sysctl setting.
Approved by: re (bz)
MFC after: 1 month.
Diffstat (limited to 'sys/netinet/sctp_pcb.h')
-rw-r--r-- | sys/netinet/sctp_pcb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/sctp_pcb.h b/sys/netinet/sctp_pcb.h index a7f5580..e39055c 100644 --- a/sys/netinet/sctp_pcb.h +++ b/sys/netinet/sctp_pcb.h @@ -322,6 +322,10 @@ struct sctp_pcb { uint32_t store_at; uint32_t max_burst; uint32_t fr_max_burst; +#ifdef INET6 + uint32_t default_flowlabel; +#endif + uint8_t default_dscp; char current_secret_number; char last_secret_number; }; |