Home
last modified time | relevance | path

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

/Linux-v4.19/include/net/sctp/
Dauth.h36 struct sctp_endpoint;
92 int sctp_auth_asoc_copy_shkeys(const struct sctp_endpoint *ep,
95 int sctp_auth_init_hmacs(struct sctp_endpoint *ep, gfp_t gfp);
114 int sctp_auth_ep_add_chunkid(struct sctp_endpoint *ep, __u8 chunk_id);
115 int sctp_auth_ep_set_hmacs(struct sctp_endpoint *ep,
117 int sctp_auth_set_key(struct sctp_endpoint *ep, struct sctp_association *asoc,
119 int sctp_auth_set_active_key(struct sctp_endpoint *ep,
121 int sctp_auth_del_key_id(struct sctp_endpoint *ep,
123 int sctp_auth_deact_key_id(struct sctp_endpoint *ep,
Dstructs.h76 struct sctp_endpoint;
176 struct sctp_endpoint *ep;
1281 struct sctp_endpoint { struct
1351 static inline struct sctp_endpoint *sctp_ep(struct sctp_ep_common *base) in sctp_ep() argument
1353 struct sctp_endpoint *ep; in sctp_ep()
1355 ep = container_of(base, struct sctp_endpoint, base); in sctp_ep()
1360 struct sctp_endpoint *sctp_endpoint_new(struct sock *, gfp_t);
1361 void sctp_endpoint_free(struct sctp_endpoint *);
1362 void sctp_endpoint_put(struct sctp_endpoint *);
1363 void sctp_endpoint_hold(struct sctp_endpoint *);
[all …]
Dsm.h70 const struct sctp_endpoint *ep,
180 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *,
318 struct sctp_endpoint *ep, struct sctp_association *asoc,
330 const struct sctp_endpoint *ep,
337 __u32 sctp_generate_tag(const struct sctp_endpoint *ep);
338 __u32 sctp_generate_tsn(const struct sctp_endpoint *ep);
Dsctp.h134 int sctp_for_each_endpoint(int (*cb)(struct sctp_endpoint *, void *), void *p);
155 void sctp_hash_endpoint(struct sctp_endpoint *);
156 void sctp_unhash_endpoint(struct sctp_endpoint *);
179 const struct sctp_endpoint *ep,
/Linux-v4.19/net/sctp/
Dendpointola.c56 static struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep, in sctp_endpoint_init()
186 struct sctp_endpoint *sctp_endpoint_new(struct sock *sk, gfp_t gfp) in sctp_endpoint_new()
188 struct sctp_endpoint *ep; in sctp_endpoint_new()
208 void sctp_endpoint_add_asoc(struct sctp_endpoint *ep, in sctp_endpoint_add_asoc()
231 void sctp_endpoint_free(struct sctp_endpoint *ep) in sctp_endpoint_free()
244 static void sctp_endpoint_destroy(struct sctp_endpoint *ep) in sctp_endpoint_destroy()
286 void sctp_endpoint_hold(struct sctp_endpoint *ep) in sctp_endpoint_hold()
294 void sctp_endpoint_put(struct sctp_endpoint *ep) in sctp_endpoint_put()
301 struct sctp_endpoint *sctp_endpoint_is_match(struct sctp_endpoint *ep, in sctp_endpoint_is_match()
305 struct sctp_endpoint *retval = NULL; in sctp_endpoint_is_match()
[all …]
Dsm_statefuns.c67 const struct sctp_endpoint *ep,
79 const struct sctp_endpoint *ep,
86 const struct sctp_endpoint *ep,
93 const struct sctp_endpoint *ep,
100 const struct sctp_endpoint *ep,
116 const struct sctp_endpoint *ep,
125 const struct sctp_endpoint *ep,
133 const struct sctp_endpoint *ep,
141 const struct sctp_endpoint *ep,
149 const struct sctp_endpoint *ep,
[all …]
Dauth.c368 int sctp_auth_asoc_copy_shkeys(const struct sctp_endpoint *ep, in sctp_auth_asoc_copy_shkeys()
469 int sctp_auth_init_hmacs(struct sctp_endpoint *ep, gfp_t gfp) in sctp_auth_init_hmacs()
629 struct sctp_endpoint *ep; in sctp_auth_asoc_set_default_hmac()
783 int sctp_auth_ep_add_chunkid(struct sctp_endpoint *ep, __u8 chunk_id) in sctp_auth_ep_add_chunkid()
805 int sctp_auth_ep_set_hmacs(struct sctp_endpoint *ep, in sctp_auth_ep_set_hmacs()
844 int sctp_auth_set_key(struct sctp_endpoint *ep, in sctp_auth_set_key()
891 int sctp_auth_set_active_key(struct sctp_endpoint *ep, in sctp_auth_set_active_key()
924 int sctp_auth_del_key_id(struct sctp_endpoint *ep, in sctp_auth_del_key_id()
964 int sctp_auth_deact_key_id(struct sctp_endpoint *ep, in sctp_auth_deact_key_id()
Dinput.c68 static struct sctp_endpoint *__sctp_rcv_lookup_endpoint(struct net *net,
101 struct sctp_endpoint *ep = NULL; in sctp_rcv()
723 static void __sctp_hash_endpoint(struct sctp_endpoint *ep) in __sctp_hash_endpoint()
740 void sctp_hash_endpoint(struct sctp_endpoint *ep) in sctp_hash_endpoint()
748 static void __sctp_unhash_endpoint(struct sctp_endpoint *ep) in __sctp_unhash_endpoint()
766 void sctp_unhash_endpoint(struct sctp_endpoint *ep) in sctp_unhash_endpoint()
774 static struct sctp_endpoint *__sctp_rcv_lookup_endpoint(struct net *net, in __sctp_rcv_lookup_endpoint()
779 struct sctp_endpoint *ep; in __sctp_rcv_lookup_endpoint()
955 const struct sctp_endpoint *ep, in sctp_epaddr_lookup_transport()
Dprimitive.c58 struct sctp_endpoint *ep; \
Ddiag.c146 struct sctp_endpoint *ep = sctp_sk(sk)->ep; in inet_sctp_diag_fill()
315 struct sctp_endpoint *ep = tsp->asoc->ep; in sctp_sock_dump()
369 struct sctp_endpoint *ep = tsp->asoc->ep; in sctp_sock_filter()
386 static int sctp_ep_dump(struct sctp_endpoint *ep, void *p) in sctp_ep_dump()
Dsocket.c383 struct sctp_endpoint *ep = sp->ep; in sctp_do_bind()
562 struct sctp_endpoint *ep; in sctp_send_asconf_add_ip()
683 struct sctp_endpoint *ep = sp->ep; in sctp_bindx_rem()
765 struct sctp_endpoint *ep; in sctp_send_asconf_del_ip()
1092 struct sctp_endpoint *ep; in __sctp_connect()
1518 struct sctp_endpoint *ep; in sctp_close()
1694 struct sctp_endpoint *ep = sctp_sk(sk)->ep; in sctp_sendmsg_new_asoc()
2045 struct sctp_endpoint *ep = sctp_sk(sk)->ep; in sctp_sendmsg()
3637 struct sctp_endpoint *ep = sctp_sk(sk)->ep; in sctp_setsockopt_auth_chunk()
3670 struct sctp_endpoint *ep = sctp_sk(sk)->ep; in sctp_setsockopt_hmac_ident()
[all …]
Dsm_sideeffect.c58 struct sctp_endpoint *ep,
67 struct sctp_endpoint *ep,
1167 struct sctp_endpoint *ep, struct sctp_association *asoc, in sctp_do_sm()
1205 struct sctp_endpoint *ep, in sctp_side_effects()
1291 struct sctp_endpoint *ep, in sctp_cmd_interpreter()
Dsm_make_chunk.c73 const struct sctp_endpoint *ep,
231 struct sctp_endpoint *ep = asoc->ep; in sctp_make_init()
1587 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *ep, in sctp_make_temp_asoc()
1613 const struct sctp_endpoint *ep, in sctp_pack_cookie()
1704 const struct sctp_endpoint *ep, in sctp_unpack_cookie()
2131 const struct sctp_endpoint *ep, in sctp_verify_param()
2251 int sctp_verify_init(struct net *net, const struct sctp_endpoint *ep, in sctp_verify_init()
2511 struct sctp_endpoint *ep = asoc->ep; in sctp_process_param()
2715 __u32 sctp_generate_tag(const struct sctp_endpoint *ep) in sctp_generate_tag()
2730 __u32 sctp_generate_tsn(const struct sctp_endpoint *ep) in sctp_generate_tsn()
Dassociola.c68 const struct sctp_endpoint *ep, in sctp_association_init()
81 asoc->ep = (struct sctp_endpoint *)ep; in sctp_association_init()
305 struct sctp_association *sctp_association_new(const struct sctp_endpoint *ep, in sctp_association_new()
1001 struct sctp_endpoint *ep; in sctp_assoc_bh_rcv()
Dproc.c180 struct sctp_endpoint *ep; in sctp_eps_seq_show()
/Linux-v4.19/security/selinux/include/
Dnetlabel.h56 int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep,
121 static inline int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep, in selinux_netlbl_sctp_assoc_request()
/Linux-v4.19/include/trace/events/
Dsctp.h52 TP_PROTO(const struct sctp_endpoint *ep,
/Linux-v4.19/include/linux/
Dsecurity.h115 struct sctp_endpoint;
1244 int security_sctp_assoc_request(struct sctp_endpoint *ep, struct sk_buff *skb);
1247 void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk,
1448 static inline int security_sctp_assoc_request(struct sctp_endpoint *ep, in security_sctp_assoc_request()
1461 static inline void security_sctp_sk_clone(struct sctp_endpoint *ep, in security_sctp_sk_clone()
Dlsm_hooks.h1712 int (*sctp_assoc_request)(struct sctp_endpoint *ep,
1716 void (*sctp_sk_clone)(struct sctp_endpoint *ep, struct sock *sk,
/Linux-v4.19/security/selinux/
Dnetlabel.c285 int selinux_netlbl_sctp_assoc_request(struct sctp_endpoint *ep, in selinux_netlbl_sctp_assoc_request()
Dhooks.c5227 static int selinux_sctp_assoc_request(struct sctp_endpoint *ep, in selinux_sctp_assoc_request()
5372 static void selinux_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk, in selinux_sctp_sk_clone()
/Linux-v4.19/security/
Dsecurity.c1572 int security_sctp_assoc_request(struct sctp_endpoint *ep, struct sk_buff *skb) in security_sctp_assoc_request()
1586 void security_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk, in security_sctp_sk_clone()