diff options
Diffstat (limited to 'include/net/sctp')
-rw-r--r-- | include/net/sctp/user.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/net/sctp/user.h b/include/net/sctp/user.h index e73ebdae323d..793617ecbfdf 100644 --- a/include/net/sctp/user.h +++ b/include/net/sctp/user.h | |||
@@ -91,6 +91,7 @@ typedef __s32 sctp_assoc_t; | |||
91 | #define SCTP_PEER_AUTH_CHUNKS 26 /* Read only */ | 91 | #define SCTP_PEER_AUTH_CHUNKS 26 /* Read only */ |
92 | #define SCTP_LOCAL_AUTH_CHUNKS 27 /* Read only */ | 92 | #define SCTP_LOCAL_AUTH_CHUNKS 27 /* Read only */ |
93 | #define SCTP_GET_ASSOC_NUMBER 28 /* Read only */ | 93 | #define SCTP_GET_ASSOC_NUMBER 28 /* Read only */ |
94 | #define SCTP_GET_ASSOC_ID_LIST 29 /* Read only */ | ||
94 | 95 | ||
95 | /* Internal Socket Options. Some of the sctp library functions are | 96 | /* Internal Socket Options. Some of the sctp library functions are |
96 | * implemented using these socket options. | 97 | * implemented using these socket options. |
@@ -669,6 +670,18 @@ struct sctp_authchunks { | |||
669 | }; | 670 | }; |
670 | 671 | ||
671 | /* | 672 | /* |
673 | * 8.2.6. Get the Current Identifiers of Associations | ||
674 | * (SCTP_GET_ASSOC_ID_LIST) | ||
675 | * | ||
676 | * This option gets the current list of SCTP association identifiers of | ||
677 | * the SCTP associations handled by a one-to-many style socket. | ||
678 | */ | ||
679 | struct sctp_assoc_ids { | ||
680 | __u32 gaids_number_of_ids; | ||
681 | sctp_assoc_t gaids_assoc_id[]; | ||
682 | }; | ||
683 | |||
684 | /* | ||
672 | * 8.3, 8.5 get all peer/local addresses in an association. | 685 | * 8.3, 8.5 get all peer/local addresses in an association. |
673 | * This parameter struct is used by SCTP_GET_PEER_ADDRS and | 686 | * This parameter struct is used by SCTP_GET_PEER_ADDRS and |
674 | * SCTP_GET_LOCAL_ADDRS socket options used internally to implement | 687 | * SCTP_GET_LOCAL_ADDRS socket options used internally to implement |