mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
sctp: add sctp_auth_init and sctp_auth_free
This patch is to factor out sctp_auth_init and sctp_auth_free functions, and sctp_auth_init will also be used in the next patch for SCTP_AUTH_SUPPORTED sockopt. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
219f9ea4d3
commit
03f961270f
3 changed files with 76 additions and 56 deletions
|
@ -107,5 +107,7 @@ int sctp_auth_del_key_id(struct sctp_endpoint *ep,
|
|||
struct sctp_association *asoc, __u16 key_id);
|
||||
int sctp_auth_deact_key_id(struct sctp_endpoint *ep,
|
||||
struct sctp_association *asoc, __u16 key_id);
|
||||
int sctp_auth_init(struct sctp_endpoint *ep, gfp_t gfp);
|
||||
void sctp_auth_free(struct sctp_endpoint *ep);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue