Home
last modified time | relevance | path

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

/Linux-v5.15/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;
1298 struct sctp_endpoint { struct
1371 static inline struct sctp_endpoint *sctp_ep(struct sctp_ep_common *base) in sctp_ep() argument
1373 struct sctp_endpoint *ep; in sctp_ep()
1375 ep = container_of(base, struct sctp_endpoint, base); in sctp_ep()
1380 struct sctp_endpoint *sctp_endpoint_new(struct sock *, gfp_t);
1381 void sctp_endpoint_free(struct sctp_endpoint *);
1382 void sctp_endpoint_put(struct sctp_endpoint *);
1383 void sctp_endpoint_hold(struct sctp_endpoint *);
[all …]
Dsm.h55 const struct sctp_endpoint *ep,
166 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *,
309 struct sctp_endpoint *ep, struct sctp_association *asoc,
322 const struct sctp_endpoint *ep,
329 __u32 sctp_generate_tag(const struct sctp_endpoint *ep);
330 __u32 sctp_generate_tsn(const struct sctp_endpoint *ep);
Dsctp.h121 int sctp_for_each_endpoint(int (*cb)(struct sctp_endpoint *, void *), void *p);
142 int sctp_hash_endpoint(struct sctp_endpoint *ep);
143 void sctp_unhash_endpoint(struct sctp_endpoint *);
168 const struct sctp_endpoint *ep,
/Linux-v5.15/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,
92 const struct sctp_endpoint *ep,
108 const struct sctp_endpoint *ep,
117 const struct sctp_endpoint *ep,
125 const struct sctp_endpoint *ep,
133 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()
875 int sctp_auth_set_active_key(struct sctp_endpoint *ep, in sctp_auth_set_active_key()
913 int sctp_auth_del_key_id(struct sctp_endpoint *ep, in sctp_auth_del_key_id()
957 int sctp_auth_deact_key_id(struct sctp_endpoint *ep, in sctp_auth_deact_key_id()
1012 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()
744 static int __sctp_hash_endpoint(struct sctp_endpoint *ep) in __sctp_hash_endpoint()
798 int sctp_hash_endpoint(struct sctp_endpoint *ep) in sctp_hash_endpoint()
810 static void __sctp_unhash_endpoint(struct sctp_endpoint *ep) in __sctp_unhash_endpoint()
831 void sctp_unhash_endpoint(struct sctp_endpoint *ep) in sctp_unhash_endpoint()
853 static struct sctp_endpoint *__sctp_rcv_lookup_endpoint( in __sctp_rcv_lookup_endpoint()
860 struct sctp_endpoint *ep; in __sctp_rcv_lookup_endpoint()
1030 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()
295 struct sctp_endpoint *ep = tsp->asoc->ep; in sctp_sock_dump()
349 struct sctp_endpoint *ep = tsp->asoc->ep; in sctp_sock_filter()
366 static int sctp_ep_dump(struct sctp_endpoint *ep, void *p) in sctp_ep_dump()
Dsocket.c377 struct sctp_endpoint *ep = sp->ep; in sctp_do_bind()
557 struct sctp_endpoint *ep; in sctp_send_asconf_add_ip()
678 struct sctp_endpoint *ep = sp->ep; in sctp_bindx_rem()
759 struct sctp_endpoint *ep; in sctp_send_asconf_del_ip()
1064 static int sctp_connect_new_asoc(struct sctp_endpoint *ep, in sctp_connect_new_asoc()
1134 struct sctp_endpoint *ep = asoc->ep; in sctp_connect_add_peer()
1167 struct sctp_endpoint *ep = sp->ep; in __sctp_connect()
1483 struct sctp_endpoint *ep; in sctp_close()
1659 struct sctp_endpoint *ep = sctp_sk(sk)->ep; in sctp_sendmsg_new_asoc()
1941 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()
1628 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *ep, in sctp_make_temp_asoc()
1654 const struct sctp_endpoint *ep, in sctp_pack_cookie()
1741 const struct sctp_endpoint *ep, in sctp_unpack_cookie()
2012 const struct sctp_endpoint *ep, in sctp_verify_ext_param()
2163 const struct sctp_endpoint *ep, in sctp_verify_param()
2290 int sctp_verify_init(struct net *net, const struct sctp_endpoint *ep, in sctp_verify_init()
2545 struct sctp_endpoint *ep = asoc->ep; in sctp_process_param()
2760 __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,
1142 struct sctp_endpoint *ep, struct sctp_association *asoc, in sctp_do_sm()
1180 struct sctp_endpoint *ep, in sctp_side_effects()
1266 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()
288 struct sctp_association *sctp_association_new(const struct sctp_endpoint *ep, in sctp_association_new()
988 struct sctp_endpoint *ep; in sctp_assoc_bh_rcv()
Dproc.c165 struct sctp_endpoint *ep; in sctp_eps_seq_show()
/Linux-v5.15/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.15/include/trace/events/
Dsctp.h52 TP_PROTO(const struct sctp_endpoint *ep,
/Linux-v5.15/include/linux/
Dsecurity.h182 struct sctp_endpoint;
1421 int security_sctp_assoc_request(struct sctp_endpoint *ep, struct sk_buff *skb);
1424 void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk,
1627 static inline int security_sctp_assoc_request(struct sctp_endpoint *ep, in security_sctp_assoc_request()
1640 static inline void security_sctp_sk_clone(struct sctp_endpoint *ep, in security_sctp_sk_clone()
Dlsm_hook_defs.h331 LSM_HOOK(int, 0, sctp_assoc_request, struct sctp_endpoint *ep,
335 LSM_HOOK(void, LSM_RET_VOID, sctp_sk_clone, struct sctp_endpoint *ep,
/Linux-v5.15/security/selinux/
Dnetlabel.c271 int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep, in selinux_netlbl_sctp_assoc_request()
Dhooks.c5359 static int selinux_sctp_assoc_request(struct sctp_endpoint *ep, in selinux_sctp_assoc_request()
5510 static void selinux_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk, in selinux_sctp_sk_clone()
/Linux-v5.15/security/
Dsecurity.c2369 int security_sctp_assoc_request(struct sctp_endpoint *ep, struct sk_buff *skb) in security_sctp_assoc_request()
2383 void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk, in security_sctp_sk_clone()