Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/include/net/sctp/
Dsm.h56 const struct sctp_association *asoc,
165 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *,
172 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
175 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc,
178 struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *asoc,
180 struct sctp_chunk *sctp_make_cookie_ack(const struct sctp_association *asoc,
182 struct sctp_chunk *sctp_make_cwr(const struct sctp_association *asoc,
185 struct sctp_chunk *sctp_make_idata(const struct sctp_association *asoc,
187 struct sctp_chunk *sctp_make_ifwdtsn(const struct sctp_association *asoc,
190 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;
501 struct sctp_association *asoc,
528 struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *,
612 struct sctp_association *asoc;
668 const struct sctp_association *,
809 struct sctp_association *asoc;
983 struct sctp_association *);
1053 struct sctp_association *asoc;
1094 void sctp_outq_init(struct sctp_association *, struct sctp_outq *);
1106 void sctp_prsctp_prune(struct sctp_association *asoc,
[all …]
Dsctp.h101 struct sctp_association *asoc);
120 int sctp_get_sctp_info(struct sock *sk, struct sctp_association *asoc,
126 int sctp_primitive_ASSOCIATE(struct net *, struct sctp_association *, void *arg);
127 int sctp_primitive_SHUTDOWN(struct net *, struct sctp_association *, void *arg);
128 int sctp_primitive_ABORT(struct net *, struct sctp_association *, void *arg);
129 int sctp_primitive_SEND(struct net *, struct sctp_association *, void *arg);
130 int sctp_primitive_REQUESTHEARTBEAT(struct net *, struct sctp_association *, void *arg);
131 int sctp_primitive_ASCONF(struct net *, struct sctp_association *, void *arg);
132 int sctp_primitive_RECONF(struct net *net, struct sctp_association *asoc,
143 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);
Dcommand.h117 struct sctp_association *asoc;
158 SCTP_ARG_CONSTRUCTOR(ASOC, struct sctp_association *, asoc) in SCTP_ARG_CONSTRUCTOR()
/kernel/linux/linux-5.10/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,
96 const struct sctp_association *asoc,
102 const struct sctp_association *asoc,
111 const struct sctp_association *asoc,
[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 …]
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()
284 struct sctp_association *sctp_association_new(const struct sctp_endpoint *ep, in sctp_association_new()
288 struct sctp_association *asoc; in sctp_association_new()
312 void sctp_association_free(struct sctp_association *asoc) in sctp_association_free()
398 static void sctp_association_destroy(struct sctp_association *asoc) in sctp_association_destroy()
421 void sctp_assoc_set_primary(struct sctp_association *asoc, in sctp_assoc_set_primary()
[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 …]
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 …]
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()
445 struct sctp_association *asoc, in sctp_icmp_proto_unreachable()
475 struct sctp_association **app, in sctp_err_lookup()
483 struct sctp_association *asoc; in sctp_err_lookup()
581 struct sctp_association *asoc = NULL; in sctp_v4_err()
1029 static struct sctp_association *__sctp_lookup_association( in __sctp_lookup_association()
1036 struct sctp_association *asoc = NULL; in __sctp_lookup_association()
[all …]
Dstream_sched.c134 int sctp_sched_set_sched(struct sctp_association *asoc, in sctp_sched_set_sched()
193 int sctp_sched_get_sched(struct sctp_association *asoc) in sctp_sched_get_sched()
204 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_set_value()
221 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_get_value()
273 struct sctp_association *asoc; in sctp_sched_ops_from_stream()
275 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,
105 static inline int sctp_wspace(struct sctp_association *asoc) in sctp_wspace()
124 struct sctp_association *asoc = chunk->asoc; in sctp_set_owner_w()
163 static void sctp_for_each_tx_datachunk(struct sctp_association *asoc, in sctp_for_each_tx_datachunk()
190 static void sctp_for_each_rx_skb(struct sctp_association *asoc, struct sock *sk, in sctp_for_each_rx_skb()
230 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id) in sctp_id2assoc()
232 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 …]
Dtransport.c215 struct sctp_association *asoc) in sctp_transport_set_owner()
232 struct sctp_association *asoc = transport->asoc; in sctp_transport_pmtu()
293 struct sctp_association *asoc = transport->asoc; in sctp_transport_route()
400 struct sctp_association *asoc = transport->asoc; in sctp_transport_raise_cwnd()
498 struct sctp_association *asoc = transport->asoc; in sctp_transport_lower_cwnd()
599 struct sctp_association *asoc = t->asoc; in sctp_transport_burst_limited()
640 struct sctp_association *asoc = t->asoc; in sctp_transport_reset()
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_tsp_dump_one()
299 struct sctp_association *assoc; in sctp_sock_dump()
352 struct sctp_association *assoc = in sctp_sock_filter()
353 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()
246 struct sctp_association *assoc; in sctp_assocs_seq_show()
304 struct sctp_association *assoc; in sctp_remaddr_seq_show()
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()
767 const struct sctp_association *asoc = transport->asoc; in sctp_packet_singleton()
786 struct sctp_association *asoc;
1202 static void sctp_sack_update_unack_data(struct sctp_association *assoc, in sctp_sack_update_unack_data()
1227 struct sctp_association *asoc = q->asoc; in sctp_outq_sack()
1579 struct sctp_association *asoc = transport->asoc; in sctp_check_transmitted()
1692 struct sctp_association *asoc = q->asoc; in sctp_mark_missing()
[all …]
Doutput.c77 struct sctp_association *asoc = tp->asoc; in sctp_packet_config()
218 struct sctp_association *asoc = pkt->transport->asoc; in sctp_packet_bundle_auth()
264 struct sctp_association *asoc; in sctp_packet_bundle_sack()
548 struct sctp_association *asoc = tp->asoc; in sctp_packet_transmit()
653 struct sctp_association *asoc = transport->asoc; in sctp_packet_can_append_data()
737 struct sctp_association *asoc = transport->asoc; in sctp_packet_append_data()
/kernel/linux/linux-5.10/include/trace/events/
Dsctp.h14 const struct sctp_association *asoc),
53 const struct sctp_association *asoc,

12