Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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
1346 static inline struct sctp_endpoint *sctp_ep(struct sctp_ep_common *base) in sctp_ep() argument
1348 struct sctp_endpoint *ep; in sctp_ep()
1350 ep = container_of(base, struct sctp_endpoint, base); in sctp_ep()
1355 struct sctp_endpoint *sctp_endpoint_new(struct sock *, gfp_t);
1356 void sctp_endpoint_free(struct sctp_endpoint *);
1357 void sctp_endpoint_put(struct sctp_endpoint *);
1358 int sctp_endpoint_hold(struct sctp_endpoint *ep);
[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.h106 typedef int (*sctp_callback_t)(struct sctp_endpoint *, struct sctp_transport *, void *);
119 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,
/kernel/linux/linux-5.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()
189 struct sctp_endpoint *ep = container_of(head, struct sctp_endpoint, rcu); in sctp_endpoint_destroy_rcu()
199 static void sctp_endpoint_destroy(struct sctp_endpoint *ep) in sctp_endpoint_destroy()
232 int sctp_endpoint_hold(struct sctp_endpoint *ep) in sctp_endpoint_hold()
240 void sctp_endpoint_put(struct sctp_endpoint *ep) in sctp_endpoint_put()
247 struct sctp_endpoint *sctp_endpoint_is_match(struct sctp_endpoint *ep, 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()
880 int sctp_auth_set_active_key(struct sctp_endpoint *ep, in sctp_auth_set_active_key()
923 int sctp_auth_del_key_id(struct sctp_endpoint *ep, in sctp_auth_del_key_id()
967 int sctp_auth_deact_key_id(struct sctp_endpoint *ep, in sctp_auth_deact_key_id()
1022 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()
721 static int __sctp_hash_endpoint(struct sctp_endpoint *ep) in __sctp_hash_endpoint()
775 int sctp_hash_endpoint(struct sctp_endpoint *ep) in sctp_hash_endpoint()
787 static void __sctp_unhash_endpoint(struct sctp_endpoint *ep) in __sctp_unhash_endpoint()
808 void sctp_unhash_endpoint(struct sctp_endpoint *ep) in sctp_unhash_endpoint()
830 static struct sctp_endpoint *__sctp_rcv_lookup_endpoint( in __sctp_rcv_lookup_endpoint()
837 struct sctp_endpoint *ep; in __sctp_rcv_lookup_endpoint()
1007 const struct sctp_endpoint *ep, in sctp_epaddr_lookup_transport()
Dprimitive.c43 struct sctp_endpoint *ep; \
Ddiag.c127 struct sctp_endpoint *ep = sctp_sk(sk)->ep; in inet_sctp_diag_fill()
292 static int sctp_sock_dump(struct sctp_endpoint *ep, struct sctp_transport *tsp, void *p) in sctp_sock_dump()
347 static int sctp_sock_filter(struct sctp_endpoint *ep, struct sctp_transport *tsp, void *p) in sctp_sock_filter()
365 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()
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()
2245 int sctp_verify_init(struct net *net, const struct sctp_endpoint *ep, in sctp_verify_init()
2499 struct sctp_endpoint *ep = asoc->ep; in sctp_process_param()
2714 __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,
1136 struct sctp_endpoint *ep, struct sctp_association *asoc, in sctp_do_sm()
1174 struct sctp_endpoint *ep, in sctp_side_effects()
1260 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()
284 struct sctp_association *sctp_association_new(const struct sctp_endpoint *ep, in sctp_association_new()
977 struct sctp_endpoint *ep; in sctp_assoc_bh_rcv()
Dproc.c165 struct sctp_endpoint *ep; in sctp_eps_seq_show()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/include/trace/events/
Dsctp.h52 TP_PROTO(const struct sctp_endpoint *ep,
/kernel/linux/linux-5.10/include/linux/
Dsecurity.h180 struct sctp_endpoint;
1385 int security_sctp_assoc_request(struct sctp_endpoint *ep, struct sk_buff *skb);
1388 void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk,
1591 static inline int security_sctp_assoc_request(struct sctp_endpoint *ep, in security_sctp_assoc_request()
1604 static inline void security_sctp_sk_clone(struct sctp_endpoint *ep, in security_sctp_sk_clone()
Dlsm_hook_defs.h324 LSM_HOOK(int, 0, sctp_assoc_request, struct sctp_endpoint *ep,
328 LSM_HOOK(void, LSM_RET_VOID, sctp_sk_clone, struct sctp_endpoint *ep,
/kernel/linux/linux-5.10/security/selinux/
Dnetlabel.c271 int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep, in selinux_netlbl_sctp_assoc_request()
Dhooks.c5208 static int selinux_sctp_assoc_request(struct sctp_endpoint *ep, in selinux_sctp_assoc_request()
5359 static void selinux_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk, in selinux_sctp_sk_clone()
/kernel/linux/linux-5.10/security/
Dsecurity.c2319 int security_sctp_assoc_request(struct sctp_endpoint *ep, struct sk_buff *skb) in security_sctp_assoc_request()
2333 void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk, in security_sctp_sk_clone()