aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/net/sctp/structs.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index a48d80e77cd..42d00ced5eb 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -1568,13 +1568,13 @@ struct sctp_association {
1568 __u32 sack_cnt; 1568 __u32 sack_cnt;
1569 1569
1570 /* These are capabilities which our peer advertised. */ 1570 /* These are capabilities which our peer advertised. */
1571 __u8 ecn_capable; /* Can peer do ECN? */ 1571 __u8 ecn_capable:1, /* Can peer do ECN? */
1572 __u8 ipv4_address; /* Peer understands IPv4 addresses? */ 1572 ipv4_address:1, /* Peer understands IPv4 addresses? */
1573 __u8 ipv6_address; /* Peer understands IPv6 addresses? */ 1573 ipv6_address:1, /* Peer understands IPv6 addresses? */
1574 __u8 hostname_address;/* Peer understands DNS addresses? */ 1574 hostname_address:1, /* Peer understands DNS addresses? */
1575 __u8 asconf_capable; /* Does peer support ADDIP? */ 1575 asconf_capable:1, /* Does peer support ADDIP? */
1576 __u8 prsctp_capable; /* Can peer do PR-SCTP? */ 1576 prsctp_capable:1, /* Can peer do PR-SCTP? */
1577 __u8 auth_capable; /* Is peer doing SCTP-AUTH? */ 1577 auth_capable:1; /* Is peer doing SCTP-AUTH? */
1578 1578
1579 __u32 adaptation_ind; /* Adaptation Code point. */ 1579 __u32 adaptation_ind; /* Adaptation Code point. */
1580 1580
@@ -1913,11 +1913,8 @@ struct sctp_association {
1913 1913
1914 __u16 active_key_id; 1914 __u16 active_key_id;
1915 1915
1916 /* Need to send an ECNE Chunk? */ 1916 __u8 need_ecne:1, /* Need to send an ECNE Chunk? */
1917 char need_ecne; 1917 temp:1; /* Is it a temporary association? */
1918
1919 /* Is it a temporary association? */
1920 char temp;
1921}; 1918};
1922 1919
1923 1920