Home
last modified time | relevance | path

Searched refs:sctp_endpoint (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.10/include/net/sctp/
Dauth.h21 struct sctp_endpoint;
77 int sctp_auth_asoc_copy_shkeys(const struct sctp_endpoint *ep,
80 int sctp_auth_init_hmacs(struct sctp_endpoint *ep, gfp_t gfp);
99 int sctp_auth_ep_add_chunkid(struct sctp_endpoint *ep, __u8 chunk_id);
100 int sctp_auth_ep_set_hmacs(struct sctp_endpoint *ep,
102 int sctp_auth_set_key(struct sctp_endpoint *ep, struct sctp_association *asoc,
104 int sctp_auth_set_active_key(struct sctp_endpoint *ep,
106 int sctp_auth_del_key_id(struct sctp_endpoint *ep,
108 int sctp_auth_deact_key_id(struct sctp_endpoint *ep,
110 int sctp_auth_init(struct sctp_endpoint *ep, gfp_t gfp);
[all …]
Dstructs.h61 struct sctp_endpoint;
163 struct sctp_endpoint *ep;
1272 struct sctp_endpoint { struct
1345 static inline struct sctp_endpoint *sctp_ep(struct sctp_ep_common *base) in sctp_ep() argument
1347 struct sctp_endpoint *ep; in sctp_ep()
1349 ep = container_of(base, struct sctp_endpoint, base); in sctp_ep()
1354 struct sctp_endpoint *sctp_endpoint_new(struct sock *, gfp_t);
1355 void sctp_endpoint_free(struct sctp_endpoint *);
1356 void sctp_endpoint_put(struct sctp_endpoint *);
1357 void sctp_endpoint_hold(struct sctp_endpoint *);
[all …]
Dsm.h55 const struct sctp_endpoint *ep,
165 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *,
303 struct sctp_endpoint *ep, struct sctp_association *asoc,
315 const struct sctp_endpoint *ep,
322 __u32 sctp_generate_tag(const struct sctp_endpoint *ep);
323 __u32 sctp_generate_tsn(const struct sctp_endpoint *ep);
Dsctp.h119 int sctp_for_each_endpoint(int (*cb)(struct sctp_endpoint *, void *), void *p);
140 int sctp_hash_endpoint(struct sctp_endpoint *ep);
141 void sctp_unhash_endpoint(struct sctp_endpoint *);
164 const struct sctp_endpoint *ep,
/Linux-v5.10/net/sctp/
Dendpointola.c41 static struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep, in sctp_endpoint_init()
129 struct sctp_endpoint *sctp_endpoint_new(struct sock *sk, gfp_t gfp) in sctp_endpoint_new()
131 struct sctp_endpoint *ep; in sctp_endpoint_new()
151 void sctp_endpoint_add_asoc(struct sctp_endpoint *ep, in sctp_endpoint_add_asoc()
174 void sctp_endpoint_free(struct sctp_endpoint *ep) in sctp_endpoint_free()
187 static void sctp_endpoint_destroy(struct sctp_endpoint *ep) in sctp_endpoint_destroy()
225 void sctp_endpoint_hold(struct sctp_endpoint *ep) in sctp_endpoint_hold()
233 void sctp_endpoint_put(struct sctp_endpoint *ep) in sctp_endpoint_put()
240 struct sctp_endpoint *sctp_endpoint_is_match(struct sctp_endpoint *ep, in sctp_endpoint_is_match()
244 struct sctp_endpoint *retval = NULL; in sctp_endpoint_is_match()
[all …]
Dsm_statefuns.c52 const struct sctp_endpoint *ep,
64 const struct sctp_endpoint *ep,
71 const struct sctp_endpoint *ep,
78 const struct sctp_endpoint *ep,
85 const struct sctp_endpoint *ep,
101 const struct sctp_endpoint *ep,
110 const struct sctp_endpoint *ep,
118 const struct sctp_endpoint *ep,
126 const struct sctp_endpoint *ep,
134 const struct sctp_endpoint *ep,
[all …]
Dauth.c353 int sctp_auth_asoc_copy_shkeys(const struct sctp_endpoint *ep, in sctp_auth_asoc_copy_shkeys()
454 int sctp_auth_init_hmacs(struct sctp_endpoint *ep, gfp_t gfp) in sctp_auth_init_hmacs()
609 struct sctp_endpoint *ep; in sctp_auth_asoc_set_default_hmac()
756 int sctp_auth_ep_add_chunkid(struct sctp_endpoint *ep, __u8 chunk_id) in sctp_auth_ep_add_chunkid()
778 int sctp_auth_ep_set_hmacs(struct sctp_endpoint *ep, in sctp_auth_ep_set_hmacs()
817 int sctp_auth_set_key(struct sctp_endpoint *ep, in sctp_auth_set_key()
869 int sctp_auth_set_active_key(struct sctp_endpoint *ep, in sctp_auth_set_active_key()
907 int sctp_auth_del_key_id(struct sctp_endpoint *ep, in sctp_auth_del_key_id()
951 int sctp_auth_deact_key_id(struct sctp_endpoint *ep, in sctp_auth_deact_key_id()
1006 int sctp_auth_init(struct sctp_endpoint *ep, gfp_t gfp) in sctp_auth_init()
[all …]
Dinput.c54 static struct sctp_endpoint *__sctp_rcv_lookup_endpoint(
89 struct sctp_endpoint *ep = NULL; in sctp_rcv()
719 static int __sctp_hash_endpoint(struct sctp_endpoint *ep) in __sctp_hash_endpoint()
773 int sctp_hash_endpoint(struct sctp_endpoint *ep) in sctp_hash_endpoint()
785 static void __sctp_unhash_endpoint(struct sctp_endpoint *ep) in __sctp_unhash_endpoint()
806 void sctp_unhash_endpoint(struct sctp_endpoint *ep) in sctp_unhash_endpoint()
828 static struct sctp_endpoint *__sctp_rcv_lookup_endpoint( in __sctp_rcv_lookup_endpoint()
835 struct sctp_endpoint *ep; in __sctp_rcv_lookup_endpoint()
1005 const struct sctp_endpoint *ep, in sctp_epaddr_lookup_transport()
Dprimitive.c43 struct sctp_endpoint *ep; \
Ddiag.c131 struct sctp_endpoint *ep = sctp_sk(sk)->ep; in inet_sctp_diag_fill()
297 struct sctp_endpoint *ep = tsp->asoc->ep; in sctp_sock_dump()
351 struct sctp_endpoint *ep = tsp->asoc->ep; in sctp_sock_filter()
368 static int sctp_ep_dump(struct sctp_endpoint *ep, void *p) in sctp_ep_dump()
Dsocket.c365 struct sctp_endpoint *ep = sp->ep; in sctp_do_bind()
543 struct sctp_endpoint *ep; in sctp_send_asconf_add_ip()
664 struct sctp_endpoint *ep = sp->ep; in sctp_bindx_rem()
745 struct sctp_endpoint *ep; in sctp_send_asconf_del_ip()
1050 static int sctp_connect_new_asoc(struct sctp_endpoint *ep, in sctp_connect_new_asoc()
1120 struct sctp_endpoint *ep = asoc->ep; in sctp_connect_add_peer()
1153 struct sctp_endpoint *ep = sp->ep; in __sctp_connect()
1469 struct sctp_endpoint *ep; in sctp_close()
1645 struct sctp_endpoint *ep = sctp_sk(sk)->ep; in sctp_sendmsg_new_asoc()
1927 struct sctp_endpoint *ep = sctp_sk(sk)->ep; in sctp_sendmsg()
[all …]
Dsm_make_chunk.c58 const struct sctp_endpoint *ep,
215 struct sctp_endpoint *ep = asoc->ep; in sctp_make_init()
1583 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *ep, in sctp_make_temp_asoc()
1609 const struct sctp_endpoint *ep, in sctp_pack_cookie()
1696 const struct sctp_endpoint *ep, in sctp_unpack_cookie()
1967 const struct sctp_endpoint *ep, in sctp_verify_ext_param()
2118 const struct sctp_endpoint *ep, in sctp_verify_param()
2238 int sctp_verify_init(struct net *net, const struct sctp_endpoint *ep, in sctp_verify_init()
2490 struct sctp_endpoint *ep = asoc->ep; in sctp_process_param()
2706 __u32 sctp_generate_tag(const struct sctp_endpoint *ep) in sctp_generate_tag()
[all …]
Dsm_sideeffect.c43 struct sctp_endpoint *ep,
52 struct sctp_endpoint *ep,
1132 struct sctp_endpoint *ep, struct sctp_association *asoc, in sctp_do_sm()
1170 struct sctp_endpoint *ep, in sctp_side_effects()
1256 struct sctp_endpoint *ep, in sctp_cmd_interpreter()
Dassociola.c53 const struct sctp_endpoint *ep, in sctp_association_init()
65 asoc->ep = (struct sctp_endpoint *)ep; in sctp_association_init()
285 struct sctp_association *sctp_association_new(const struct sctp_endpoint *ep, in sctp_association_new()
978 struct sctp_endpoint *ep; in sctp_assoc_bh_rcv()
Dproc.c165 struct sctp_endpoint *ep; in sctp_eps_seq_show()
/Linux-v5.10/security/selinux/include/
Dnetlabel.h42 int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep,
101 static inline int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep, in selinux_netlbl_sctp_assoc_request()
/Linux-v5.10/include/trace/events/
Dsctp.h52 TP_PROTO(const struct sctp_endpoint *ep,
/Linux-v5.10/include/linux/
Dsecurity.h177 struct sctp_endpoint;
1376 int security_sctp_assoc_request(struct sctp_endpoint *ep, struct sk_buff *skb);
1379 void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk,
1580 static inline int security_sctp_assoc_request(struct sctp_endpoint *ep, in security_sctp_assoc_request()
1593 static inline void security_sctp_sk_clone(struct sctp_endpoint *ep, in security_sctp_sk_clone()
Dlsm_hook_defs.h321 LSM_HOOK(int, 0, sctp_assoc_request, struct sctp_endpoint *ep,
325 LSM_HOOK(void, LSM_RET_VOID, sctp_sk_clone, struct sctp_endpoint *ep,
/Linux-v5.10/security/selinux/
Dnetlabel.c271 int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep, in selinux_netlbl_sctp_assoc_request()
Dhooks.c5189 static int selinux_sctp_assoc_request(struct sctp_endpoint *ep, in selinux_sctp_assoc_request()
5340 static void selinux_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk, in selinux_sctp_sk_clone()
/Linux-v5.10/security/
Dsecurity.c2302 int security_sctp_assoc_request(struct sctp_endpoint *ep, struct sk_buff *skb) in security_sctp_assoc_request()
2316 void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk, in security_sctp_sk_clone()