Home
last modified time | relevance | path

Searched refs:sctp_association (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.1.9/include/net/sctp/
Dsm.h56 const struct sctp_association *asoc,
166 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *,
173 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
176 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc,
179 struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *asoc,
181 struct sctp_chunk *sctp_make_cookie_ack(const struct sctp_association *asoc,
183 struct sctp_chunk *sctp_make_cwr(const struct sctp_association *asoc,
186 struct sctp_chunk *sctp_make_idata(const struct sctp_association *asoc,
188 struct sctp_chunk *sctp_make_ifwdtsn(const struct sctp_association *asoc,
191 struct sctp_chunk *sctp_make_datafrag_empty(const struct sctp_association *asoc,
[all …]
Dauth.h22 struct sctp_association;
73 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp);
75 const struct sctp_association *asoc,
78 struct sctp_association *asoc,
83 struct sctp_hmac *sctp_auth_asoc_get_hmac(const struct sctp_association *asoc);
84 void sctp_auth_asoc_set_default_hmac(struct sctp_association *asoc,
86 int sctp_auth_asoc_verify_hmac_id(const struct sctp_association *asoc,
89 const struct sctp_association *asoc);
91 const struct sctp_association *asoc);
92 void sctp_auth_calculate_hmac(const struct sctp_association *asoc,
[all …]
Dulpevent.h39 struct sctp_association *asoc;
74 const struct sctp_association *asoc,
87 const struct sctp_association *asoc,
92 const struct sctp_association *asoc,
99 const struct sctp_association *asoc,
106 const struct sctp_association *asoc,
111 const struct sctp_association *asoc,
116 const struct sctp_association *asoc, gfp_t gfp);
118 struct sctp_ulpevent *sctp_ulpevent_make_rcvmsg(struct sctp_association *asoc,
123 const struct sctp_association *asoc, __u16 key_id,
[all …]
Dstructs.h62 struct sctp_association;
506 struct sctp_association *asoc,
533 struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *,
617 struct sctp_association *asoc;
674 const struct sctp_association *,
815 struct sctp_association *asoc;
1003 struct sctp_association *);
1077 struct sctp_association *asoc;
1118 void sctp_outq_init(struct sctp_association *, struct sctp_outq *);
1130 void sctp_prsctp_prune(struct sctp_association *asoc,
[all …]
Dsctp.h103 struct sctp_association *asoc);
121 int sctp_get_sctp_info(struct sock *sk, struct sctp_association *asoc,
127 int sctp_primitive_ASSOCIATE(struct net *, struct sctp_association *, void *arg);
128 int sctp_primitive_SHUTDOWN(struct net *, struct sctp_association *, void *arg);
129 int sctp_primitive_ABORT(struct net *, struct sctp_association *, void *arg);
130 int sctp_primitive_SEND(struct net *, struct sctp_association *, void *arg);
131 int sctp_primitive_REQUESTHEARTBEAT(struct net *, struct sctp_association *, void *arg);
132 int sctp_primitive_ASCONF(struct net *, struct sctp_association *, void *arg);
133 int sctp_primitive_RECONF(struct net *net, struct sctp_association *asoc,
144 struct sctphdr *, struct sctp_association **,
[all …]
Dstream_sched.h46 int sctp_sched_set_sched(struct sctp_association *asoc,
48 int sctp_sched_get_sched(struct sctp_association *asoc);
49 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid,
51 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid,
Dulpqueue.h31 struct sctp_association *asoc;
39 struct sctp_association *);
59 int sctp_clear_pd(struct sock *sk, struct sctp_association *asoc);
/linux-6.1.9/net/sctp/
Dsm_statefuns.c53 const struct sctp_association *asoc,
56 static int sctp_eat_data(const struct sctp_association *asoc,
61 const struct sctp_association *asoc,
65 const struct sctp_association *asoc,
72 const struct sctp_association *asoc,
79 const struct sctp_association *asoc,
86 const struct sctp_association *asoc,
93 const struct sctp_association *asoc,
103 const struct sctp_association *asoc,
109 const struct sctp_association *asoc,
[all …]
Dassociola.c43 static void sctp_select_active_and_retran_path(struct sctp_association *asoc);
45 static void sctp_assoc_free_asconf_acks(struct sctp_association *asoc);
46 static void sctp_assoc_free_asconf_queue(struct sctp_association *asoc);
51 static struct sctp_association *sctp_association_init( in sctp_association_init()
52 struct sctp_association *asoc, in sctp_association_init()
287 struct sctp_association *sctp_association_new(const struct sctp_endpoint *ep, in sctp_association_new()
291 struct sctp_association *asoc; in sctp_association_new()
315 void sctp_association_free(struct sctp_association *asoc) in sctp_association_free()
401 static void sctp_association_destroy(struct sctp_association *asoc) in sctp_association_destroy()
424 void sctp_assoc_set_primary(struct sctp_association *asoc, in sctp_assoc_set_primary()
[all …]
Dsm_sideeffect.c44 struct sctp_association *asoc,
53 struct sctp_association **asoc,
64 static void sctp_do_ecn_ce_work(struct sctp_association *asoc, in sctp_do_ecn_ce_work()
85 static struct sctp_chunk *sctp_do_ecn_ecne_work(struct sctp_association *asoc, in sctp_do_ecn_ecne_work()
128 static void sctp_do_ecn_cwr_work(struct sctp_association *asoc, in sctp_do_ecn_cwr_work()
138 static int sctp_gen_sack(struct sctp_association *asoc, int force, in sctp_gen_sack()
235 struct sctp_association *asoc = transport->asoc; in sctp_generate_t3_rtx_event()
270 static void sctp_generate_timeout_event(struct sctp_association *asoc, in sctp_generate_timeout_event()
310 struct sctp_association *asoc = in sctp_generate_t1_cookie_event()
318 struct sctp_association *asoc = in sctp_generate_t1_init_event()
[all …]
Dsm_make_chunk.c49 static struct sctp_chunk *sctp_make_control(const struct sctp_association *asoc,
52 static struct sctp_chunk *sctp_make_data(const struct sctp_association *asoc,
54 static struct sctp_chunk *_sctp_make_chunk(const struct sctp_association *asoc,
59 const struct sctp_association *asoc,
63 static int sctp_process_param(struct sctp_association *asoc,
77 struct sctp_association *asoc = chunk->asoc; in sctp_control_release_owner()
99 struct sctp_association *asoc = chunk->asoc; in sctp_control_set_owner_w()
206 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc, in sctp_make_init()
379 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc, in sctp_make_init_ack()
524 retval->asoc = (struct sctp_association *) asoc; in sctp_make_init_ack()
[all …]
Dulpevent.c32 struct sctp_association *asoc);
77 const struct sctp_association *asoc) in sctp_ulpevent_set_owner()
85 sctp_association_hold((struct sctp_association *)asoc); in sctp_ulpevent_set_owner()
87 event->asoc = (struct sctp_association *)asoc; in sctp_ulpevent_set_owner()
97 struct sctp_association *asoc = event->asoc; in sctp_ulpevent_release_owner()
115 const struct sctp_association *asoc, in sctp_ulpevent_make_assoc_change()
242 const struct sctp_association *asoc, in sctp_ulpevent_make_peer_addr_change()
342 struct sctp_association *asoc = transport->asoc; in sctp_ulpevent_notify_peer_addr_change()
374 sctp_ulpevent_make_remote_error(const struct sctp_association *asoc, in sctp_ulpevent_make_remote_error()
431 const struct sctp_association *asoc, struct sctp_chunk *chunk, in sctp_ulpevent_make_send_failed()
[all …]
Dinput.c49 static struct sctp_association *__sctp_rcv_lookup(struct net *net,
58 static struct sctp_association *__sctp_lookup_association(
88 struct sctp_association *asoc; in sctp_rcv()
387 void sctp_icmp_frag_needed(struct sock *sk, struct sctp_association *asoc, in sctp_icmp_frag_needed()
447 struct sctp_association *asoc, in sctp_icmp_proto_unreachable()
477 struct sctp_association **app, in sctp_err_lookup()
485 struct sctp_association *asoc; in sctp_err_lookup()
564 struct sctp_association *asoc = t->asoc; in sctp_v4_err_handle()
627 struct sctp_association *asoc; in sctp_v4_err()
654 struct sctp_association *asoc; in sctp_udp_v4_err()
[all …]
Dauth.c222 const struct sctp_association *asoc, in sctp_auth_make_local_vector()
233 const struct sctp_association *asoc, in sctp_auth_make_peer_vector()
287 const struct sctp_association *asoc, in sctp_auth_asoc_create_secret()
354 struct sctp_association *asoc, in sctp_auth_asoc_copy_shkeys()
383 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp) in sctp_auth_asoc_init_active_key()
430 const struct sctp_association *asoc, in sctp_auth_get_shkey()
524 struct sctp_hmac *sctp_auth_asoc_get_hmac(const struct sctp_association *asoc) in sctp_auth_asoc_get_hmac()
584 int sctp_auth_asoc_verify_hmac_id(const struct sctp_association *asoc, in sctp_auth_asoc_verify_hmac_id()
606 void sctp_auth_asoc_set_default_hmac(struct sctp_association *asoc, in sctp_auth_asoc_set_default_hmac()
674 int sctp_auth_send_cid(enum sctp_cid chunk, const struct sctp_association *asoc) in sctp_auth_send_cid()
[all …]
Dstream_sched.c134 int sctp_sched_set_sched(struct sctp_association *asoc, in sctp_sched_set_sched()
190 int sctp_sched_get_sched(struct sctp_association *asoc) in sctp_sched_get_sched()
201 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_set_value()
218 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_get_value()
270 struct sctp_association *asoc; in sctp_sched_ops_from_stream()
272 asoc = container_of(stream, struct sctp_association, stream); in sctp_sched_ops_from_stream()
Dsocket.c73 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p,
76 static int sctp_wait_for_connect(struct sctp_association *, long *timeo_p);
86 static int sctp_send_asconf(struct sctp_association *asoc,
91 struct sctp_association *assoc,
106 static inline int sctp_wspace(struct sctp_association *asoc) in sctp_wspace()
125 struct sctp_association *asoc = chunk->asoc; in sctp_set_owner_w()
164 static void sctp_for_each_tx_datachunk(struct sctp_association *asoc, in sctp_for_each_tx_datachunk()
191 static void sctp_for_each_rx_skb(struct sctp_association *asoc, struct sock *sk, in sctp_for_each_rx_skb()
231 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id) in sctp_id2assoc()
233 struct sctp_association *asoc = NULL; in sctp_id2assoc()
[all …]
Dstream.c27 struct sctp_association *asoc; in sctp_stream_shrink_out()
31 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_shrink_out()
229 static int sctp_send_reconf(struct sctp_association *asoc, in sctp_send_reconf()
244 struct sctp_association *asoc; in sctp_stream_outq_is_empty()
247 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_outq_is_empty()
265 int sctp_send_reset_streams(struct sctp_association *asoc, in sctp_send_reset_streams()
380 int sctp_send_reset_assoc(struct sctp_association *asoc) in sctp_send_reset_assoc()
424 int sctp_send_add_streams(struct sctp_association *asoc, in sctp_send_add_streams()
483 struct sctp_association *asoc, __be32 resp_seq, in sctp_chunk_lookup_strreset_param()
509 static void sctp_update_strreset_result(struct sctp_association *asoc, in sctp_update_strreset_result()
[all …]
Ddiag.c28 struct sctp_association *asoc) in inet_diag_msg_sctpasoc_fill()
94 struct sctp_association *asoc) in inet_diag_msg_sctpaddrs_fill()
119 static int inet_sctp_diag_fill(struct sock *sk, struct sctp_association *asoc, in inet_sctp_diag_fill()
226 static size_t inet_assoc_attr_size(struct sctp_association *asoc) in inet_assoc_attr_size()
247 struct sctp_association *assoc = tsp->asoc; in sctp_sock_dump_one()
293 struct sctp_association *assoc; in sctp_sock_dump()
346 struct sctp_association *assoc = in sctp_sock_filter()
347 list_entry(ep->asocs.next, struct sctp_association, asocs); in sctp_sock_filter()
Dendpointola.c152 struct sctp_association *asoc) in sctp_endpoint_add_asoc()
267 struct sctp_association *sctp_endpoint_lookup_assoc( in sctp_endpoint_lookup_assoc()
272 struct sctp_association *asoc = NULL; in sctp_endpoint_lookup_assoc()
325 struct sctp_association *asoc; in sctp_endpoint_bh_rcv()
Dproc.c79 struct sctp_association *asoc; in sctp_seq_dump_local_addrs()
113 static void sctp_seq_dump_remote_addrs(struct seq_file *seq, struct sctp_association *assoc) in sctp_seq_dump_remote_addrs()
244 struct sctp_association *assoc; in sctp_assocs_seq_show()
302 struct sctp_association *assoc; in sctp_remaddr_seq_show()
Dtransport.c233 struct sctp_association *asoc) in sctp_transport_set_owner()
250 struct sctp_association *asoc = transport->asoc; in sctp_transport_pmtu()
450 struct sctp_association *asoc = transport->asoc; in sctp_transport_route()
557 struct sctp_association *asoc = transport->asoc; in sctp_transport_raise_cwnd()
655 struct sctp_association *asoc = transport->asoc; in sctp_transport_lower_cwnd()
756 struct sctp_association *asoc = t->asoc; in sctp_transport_burst_limited()
797 struct sctp_association *asoc = t->asoc; in sctp_transport_reset()
Doutqueue.c191 void sctp_outq_init(struct sctp_association *asoc, struct sctp_outq *q) in sctp_outq_init()
342 static int sctp_prsctp_prune_sent(struct sctp_association *asoc, in sctp_prsctp_prune_sent()
382 static int sctp_prsctp_prune_unsent(struct sctp_association *asoc, in sctp_prsctp_prune_unsent()
423 void sctp_prsctp_prune(struct sctp_association *asoc, in sctp_prsctp_prune()
770 const struct sctp_association *asoc = transport->asoc; in sctp_packet_singleton()
793 struct sctp_association *asoc;
1225 static void sctp_sack_update_unack_data(struct sctp_association *assoc, in sctp_sack_update_unack_data()
1250 struct sctp_association *asoc = q->asoc; in sctp_outq_sack()
1602 struct sctp_association *asoc = transport->asoc; in sctp_check_transmitted()
1715 struct sctp_association *asoc = q->asoc; in sctp_mark_missing()
[all …]
Doutput.c77 struct sctp_association *asoc = tp->asoc; in sctp_packet_config()
244 struct sctp_association *asoc = pkt->transport->asoc; in sctp_packet_bundle_auth()
290 struct sctp_association *asoc; in sctp_packet_bundle_sack()
572 struct sctp_association *asoc = tp->asoc; in sctp_packet_transmit()
677 struct sctp_association *asoc = transport->asoc; in sctp_packet_can_append_data()
761 struct sctp_association *asoc = transport->asoc; in sctp_packet_append_data()
/linux-6.1.9/security/selinux/include/
Dnetlabel.h42 int selinux_netlbl_sctp_assoc_request(struct sctp_association *asoc,
101 static inline int selinux_netlbl_sctp_assoc_request(struct sctp_association *asoc, in selinux_netlbl_sctp_assoc_request()
/linux-6.1.9/include/trace/events/
Dsctp.h14 const struct sctp_association *asoc),
53 const struct sctp_association *asoc,

12