Home
last modified time | relevance | path

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

12

/linux-6.6.21/include/net/sctp/
Dsm.h56 const struct sctp_association *asoc,
165 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *,
170 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
173 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc,
176 struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *asoc,
178 struct sctp_chunk *sctp_make_cookie_ack(const struct sctp_association *asoc,
180 struct sctp_chunk *sctp_make_cwr(const struct sctp_association *asoc,
183 struct sctp_chunk *sctp_make_idata(const struct sctp_association *asoc,
185 struct sctp_chunk *sctp_make_ifwdtsn(const struct sctp_association *asoc,
188 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;
507 struct sctp_association *asoc,
534 struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *,
618 struct sctp_association *asoc;
675 const struct sctp_association *,
816 struct sctp_association *asoc;
1004 struct sctp_association *);
1078 struct sctp_association *asoc;
1119 void sctp_outq_init(struct sctp_association *, struct sctp_outq *);
1129 void sctp_prsctp_prune(struct sctp_association *asoc,
[all …]
Dsctp.h98 struct sctp_association *asoc);
116 int sctp_get_sctp_info(struct sock *sk, struct sctp_association *asoc,
122 int sctp_primitive_ASSOCIATE(struct net *, struct sctp_association *, void *arg);
123 int sctp_primitive_SHUTDOWN(struct net *, struct sctp_association *, void *arg);
124 int sctp_primitive_ABORT(struct net *, struct sctp_association *, void *arg);
125 int sctp_primitive_SEND(struct net *, struct sctp_association *, void *arg);
126 int sctp_primitive_REQUESTHEARTBEAT(struct net *, struct sctp_association *, void *arg);
127 int sctp_primitive_ASCONF(struct net *, struct sctp_association *, void *arg);
128 int sctp_primitive_RECONF(struct net *net, struct sctp_association *asoc,
139 struct sctphdr *, struct sctp_association **,
[all …]
Dstream_sched.h44 int sctp_sched_set_sched(struct sctp_association *asoc,
46 int sctp_sched_get_sched(struct sctp_association *asoc);
47 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid,
49 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid,
Dulpqueue.h31 struct sctp_association *asoc;
38 void sctp_ulpq_init(struct sctp_ulpq *ulpq, struct sctp_association *asoc);
58 int sctp_clear_pd(struct sock *sk, struct sctp_association *asoc);
/linux-6.6.21/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()
285 struct sctp_association *sctp_association_new(const struct sctp_endpoint *ep, in sctp_association_new()
289 struct sctp_association *asoc; in sctp_association_new()
313 void sctp_association_free(struct sctp_association *asoc) in sctp_association_free()
399 static void sctp_association_destroy(struct sctp_association *asoc) in sctp_association_destroy()
422 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,
60 static struct sctp_association *__sctp_lookup_association(
91 struct sctp_association *asoc; in sctp_rcv()
372 void sctp_icmp_frag_needed(struct sock *sk, struct sctp_association *asoc, in sctp_icmp_frag_needed()
432 struct sctp_association *asoc, in sctp_icmp_proto_unreachable()
462 struct sctp_association **app, in sctp_err_lookup()
470 struct sctp_association *asoc; in sctp_err_lookup()
551 struct sctp_association *asoc = t->asoc; in sctp_v4_err_handle()
614 struct sctp_association *asoc; in sctp_v4_err()
641 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.c148 int sctp_sched_set_sched(struct sctp_association *asoc, in sctp_sched_set_sched()
195 int sctp_sched_get_sched(struct sctp_association *asoc) in sctp_sched_get_sched()
206 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_set_value()
223 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_get_value()
275 struct sctp_association *asoc; in sctp_sched_ops_from_stream()
277 asoc = container_of(stream, struct sctp_association, stream); in sctp_sched_ops_from_stream()
Dsocket.c74 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p,
77 static int sctp_wait_for_connect(struct sctp_association *, long *timeo_p);
87 static int sctp_send_asconf(struct sctp_association *asoc,
92 struct sctp_association *assoc,
107 static inline int sctp_wspace(struct sctp_association *asoc) in sctp_wspace()
126 struct sctp_association *asoc = chunk->asoc; in sctp_set_owner_w()
165 static void sctp_for_each_tx_datachunk(struct sctp_association *asoc, in sctp_for_each_tx_datachunk()
192 static void sctp_for_each_rx_skb(struct sctp_association *asoc, struct sock *sk, in sctp_for_each_rx_skb()
232 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id) in sctp_id2assoc()
234 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 …]
Dendpointola.c152 struct sctp_association *asoc) in sctp_endpoint_add_asoc()
270 struct sctp_association *sctp_endpoint_lookup_assoc( in sctp_endpoint_lookup_assoc()
275 struct sctp_association *asoc = NULL; in sctp_endpoint_lookup_assoc()
330 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()
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()
Dtransport.c231 struct sctp_association *asoc) in sctp_transport_set_owner()
248 struct sctp_association *asoc = transport->asoc; in sctp_transport_pmtu()
451 struct sctp_association *asoc = transport->asoc; in sctp_transport_route()
558 struct sctp_association *asoc = transport->asoc; in sctp_transport_raise_cwnd()
656 struct sctp_association *asoc = transport->asoc; in sctp_transport_lower_cwnd()
757 struct sctp_association *asoc = t->asoc; in sctp_transport_burst_limited()
798 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()
1605 struct sctp_association *asoc = transport->asoc; in sctp_check_transmitted()
1718 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.6.21/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.6.21/include/trace/events/
Dsctp.h14 const struct sctp_association *asoc),
53 const struct sctp_association *asoc,

12