Home
last modified time | relevance | path

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

/Linux-v5.4/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;
1273 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 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.4/net/sctp/
Dendpointola.c41 static struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep, in sctp_endpoint_init()
128 struct sctp_endpoint *sctp_endpoint_new(struct sock *sk, gfp_t gfp) in sctp_endpoint_new()
130 struct sctp_endpoint *ep; in sctp_endpoint_new()
150 void sctp_endpoint_add_asoc(struct sctp_endpoint *ep, in sctp_endpoint_add_asoc()
173 void sctp_endpoint_free(struct sctp_endpoint *ep) in sctp_endpoint_free()
186 static void sctp_endpoint_destroy(struct sctp_endpoint *ep) in sctp_endpoint_destroy()
224 void sctp_endpoint_hold(struct sctp_endpoint *ep) in sctp_endpoint_hold()
232 void sctp_endpoint_put(struct sctp_endpoint *ep) in sctp_endpoint_put()
239 struct sctp_endpoint *sctp_endpoint_is_match(struct sctp_endpoint *ep, in sctp_endpoint_is_match()
243 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()
608 struct sctp_endpoint *ep; in sctp_auth_asoc_set_default_hmac()
761 int sctp_auth_ep_add_chunkid(struct sctp_endpoint *ep, __u8 chunk_id) in sctp_auth_ep_add_chunkid()
783 int sctp_auth_ep_set_hmacs(struct sctp_endpoint *ep, in sctp_auth_ep_set_hmacs()
822 int sctp_auth_set_key(struct sctp_endpoint *ep, in sctp_auth_set_key()
874 int sctp_auth_set_active_key(struct sctp_endpoint *ep, in sctp_auth_set_active_key()
912 int sctp_auth_del_key_id(struct sctp_endpoint *ep, in sctp_auth_del_key_id()
956 int sctp_auth_deact_key_id(struct sctp_endpoint *ep, in sctp_auth_deact_key_id()
1011 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()
718 static int __sctp_hash_endpoint(struct sctp_endpoint *ep) in __sctp_hash_endpoint()
772 int sctp_hash_endpoint(struct sctp_endpoint *ep) in sctp_hash_endpoint()
784 static void __sctp_unhash_endpoint(struct sctp_endpoint *ep) in __sctp_unhash_endpoint()
805 void sctp_unhash_endpoint(struct sctp_endpoint *ep) in sctp_unhash_endpoint()
827 static struct sctp_endpoint *__sctp_rcv_lookup_endpoint( in __sctp_rcv_lookup_endpoint()
834 struct sctp_endpoint *ep; in __sctp_rcv_lookup_endpoint()
1004 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()
301 struct sctp_endpoint *ep = tsp->asoc->ep; in sctp_sock_dump()
355 struct sctp_endpoint *ep = tsp->asoc->ep; in sctp_sock_filter()
372 static int sctp_ep_dump(struct sctp_endpoint *ep, void *p) in sctp_ep_dump()
Dsocket.c350 struct sctp_endpoint *ep = sp->ep; in sctp_do_bind()
529 struct sctp_endpoint *ep; in sctp_send_asconf_add_ip()
650 struct sctp_endpoint *ep = sp->ep; in sctp_bindx_rem()
731 struct sctp_endpoint *ep; in sctp_send_asconf_del_ip()
1046 static int sctp_connect_new_asoc(struct sctp_endpoint *ep, in sctp_connect_new_asoc()
1116 struct sctp_endpoint *ep = asoc->ep; in sctp_connect_add_peer()
1149 struct sctp_endpoint *ep = sp->ep; in __sctp_connect()
1473 struct sctp_endpoint *ep; in sctp_close()
1649 struct sctp_endpoint *ep = sctp_sk(sk)->ep; in sctp_sendmsg_new_asoc()
1931 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()
1579 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *ep, in sctp_make_temp_asoc()
1605 const struct sctp_endpoint *ep, in sctp_pack_cookie()
1695 const struct sctp_endpoint *ep, in sctp_unpack_cookie()
1970 const struct sctp_endpoint *ep, in sctp_verify_ext_param()
2121 const struct sctp_endpoint *ep, in sctp_verify_param()
2241 int sctp_verify_init(struct net *net, const struct sctp_endpoint *ep, in sctp_verify_init()
2495 struct sctp_endpoint *ep = asoc->ep; in sctp_process_param()
2710 __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,
1131 struct sctp_endpoint *ep, struct sctp_association *asoc, in sctp_do_sm()
1169 struct sctp_endpoint *ep, in sctp_side_effects()
1255 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()
282 struct sctp_association *sctp_association_new(const struct sctp_endpoint *ep, in sctp_association_new()
982 struct sctp_endpoint *ep; in sctp_assoc_bh_rcv()
Dproc.c165 struct sctp_endpoint *ep; in sctp_eps_seq_show()
/Linux-v5.4/security/selinux/include/
Dnetlabel.h42 int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep,
107 static inline int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep, in selinux_netlbl_sctp_assoc_request()
/Linux-v5.4/include/trace/events/
Dsctp.h52 TP_PROTO(const struct sctp_endpoint *ep,
/Linux-v5.4/include/linux/
Dsecurity.h171 struct sctp_endpoint;
1320 int security_sctp_assoc_request(struct sctp_endpoint *ep, struct sk_buff *skb);
1323 void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk,
1524 static inline int security_sctp_assoc_request(struct sctp_endpoint *ep, in security_sctp_assoc_request()
1537 static inline void security_sctp_sk_clone(struct sctp_endpoint *ep, in security_sctp_sk_clone()
Dlsm_hooks.h1753 int (*sctp_assoc_request)(struct sctp_endpoint *ep,
1757 void (*sctp_sk_clone)(struct sctp_endpoint *ep, struct sock *sk,
/Linux-v5.4/security/selinux/
Dnetlabel.c271 int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep, in selinux_netlbl_sctp_assoc_request()
Dhooks.c5180 static int selinux_sctp_assoc_request(struct sctp_endpoint *ep, in selinux_sctp_assoc_request()
5331 static void selinux_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk, in selinux_sctp_sk_clone()
/Linux-v5.4/security/
Dsecurity.c2175 int security_sctp_assoc_request(struct sctp_endpoint *ep, struct sk_buff *skb) in security_sctp_assoc_request()
2189 void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk, in security_sctp_sk_clone()