Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/net/sctp/
Dsm.h71 const struct sctp_association *asoc,
180 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *,
187 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
190 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc,
193 struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *asoc,
195 struct sctp_chunk *sctp_make_cookie_ack(const struct sctp_association *asoc,
197 struct sctp_chunk *sctp_make_cwr(const struct sctp_association *asoc,
200 struct sctp_chunk *sctp_make_idata(const struct sctp_association *asoc,
202 struct sctp_chunk *sctp_make_ifwdtsn(const struct sctp_association *asoc,
205 struct sctp_chunk *sctp_make_datafrag_empty(const struct sctp_association *asoc,
[all …]
Dauth.h37 struct sctp_association;
88 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp);
90 const struct sctp_association *asoc,
93 struct sctp_association *asoc,
98 struct sctp_hmac *sctp_auth_asoc_get_hmac(const struct sctp_association *asoc);
99 void sctp_auth_asoc_set_default_hmac(struct sctp_association *asoc,
101 int sctp_auth_asoc_verify_hmac_id(const struct sctp_association *asoc,
104 const struct sctp_association *asoc);
106 const struct sctp_association *asoc);
107 void sctp_auth_calculate_hmac(const struct sctp_association *asoc,
[all …]
Dulpevent.h54 struct sctp_association *asoc;
89 const struct sctp_association *asoc,
99 const struct sctp_association *asoc,
107 const struct sctp_association *asoc,
112 const struct sctp_association *asoc,
119 const struct sctp_association *asoc,
124 const struct sctp_association *asoc,
129 const struct sctp_association *asoc, gfp_t gfp);
131 struct sctp_ulpevent *sctp_ulpevent_make_rcvmsg(struct sctp_association *asoc,
136 const struct sctp_association *asoc, __u16 key_id,
[all …]
Dstructs.h77 struct sctp_association;
517 struct sctp_association *asoc,
544 struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *,
628 struct sctp_association *asoc;
684 const struct sctp_association *,
825 struct sctp_association *asoc;
997 struct sctp_association *);
1067 struct sctp_association *asoc;
1108 void sctp_outq_init(struct sctp_association *, struct sctp_outq *);
1120 void sctp_prsctp_prune(struct sctp_association *asoc,
[all …]
Dsctp.h116 struct sctp_association *asoc);
135 int sctp_get_sctp_info(struct sock *sk, struct sctp_association *asoc,
141 int sctp_primitive_ASSOCIATE(struct net *, struct sctp_association *, void *arg);
142 int sctp_primitive_SHUTDOWN(struct net *, struct sctp_association *, void *arg);
143 int sctp_primitive_ABORT(struct net *, struct sctp_association *, void *arg);
144 int sctp_primitive_SEND(struct net *, struct sctp_association *, void *arg);
145 int sctp_primitive_REQUESTHEARTBEAT(struct net *, struct sctp_association *, void *arg);
146 int sctp_primitive_ASCONF(struct net *, struct sctp_association *, void *arg);
147 int sctp_primitive_RECONF(struct net *net, struct sctp_association *asoc,
158 struct sctphdr *, struct sctp_association **,
[all …]
Dstream_sched.h59 int sctp_sched_set_sched(struct sctp_association *asoc,
61 int sctp_sched_get_sched(struct sctp_association *asoc);
62 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid,
64 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid,
Dulpqueue.h46 struct sctp_association *asoc;
54 struct sctp_association *);
74 int sctp_clear_pd(struct sock *sk, struct sctp_association *asoc);
Dcommand.h133 struct sctp_association *asoc;
174 SCTP_ARG_CONSTRUCTOR(ASOC, struct sctp_association *, asoc) in SCTP_ARG_CONSTRUCTOR()
/Linux-v4.19/net/sctp/
Dsm_statefuns.c68 const struct sctp_association *asoc,
71 static int sctp_eat_data(const struct sctp_association *asoc,
76 const struct sctp_association *asoc,
80 const struct sctp_association *asoc,
87 const struct sctp_association *asoc,
94 const struct sctp_association *asoc,
101 const struct sctp_association *asoc,
111 const struct sctp_association *asoc,
117 const struct sctp_association *asoc,
126 const struct sctp_association *asoc,
[all …]
Dsm_sideeffect.c59 struct sctp_association *asoc,
68 struct sctp_association **asoc,
79 static void sctp_do_ecn_ce_work(struct sctp_association *asoc, in sctp_do_ecn_ce_work()
100 static struct sctp_chunk *sctp_do_ecn_ecne_work(struct sctp_association *asoc, in sctp_do_ecn_ecne_work()
143 static void sctp_do_ecn_cwr_work(struct sctp_association *asoc, in sctp_do_ecn_cwr_work()
153 static int sctp_gen_sack(struct sctp_association *asoc, int force, in sctp_gen_sack()
250 struct sctp_association *asoc = transport->asoc; in sctp_generate_t3_rtx_event()
285 static void sctp_generate_timeout_event(struct sctp_association *asoc, in sctp_generate_timeout_event()
325 struct sctp_association *asoc = in sctp_generate_t1_cookie_event()
333 struct sctp_association *asoc = in sctp_generate_t1_init_event()
[all …]
Dassociola.c58 static void sctp_select_active_and_retran_path(struct sctp_association *asoc);
60 static void sctp_assoc_free_asconf_acks(struct sctp_association *asoc);
61 static void sctp_assoc_free_asconf_queue(struct sctp_association *asoc);
66 static struct sctp_association *sctp_association_init( in sctp_association_init()
67 struct sctp_association *asoc, in sctp_association_init()
305 struct sctp_association *sctp_association_new(const struct sctp_endpoint *ep, in sctp_association_new()
309 struct sctp_association *asoc; in sctp_association_new()
333 void sctp_association_free(struct sctp_association *asoc) in sctp_association_free()
419 static void sctp_association_destroy(struct sctp_association *asoc) in sctp_association_destroy()
442 void sctp_assoc_set_primary(struct sctp_association *asoc, in sctp_assoc_set_primary()
[all …]
Dsm_make_chunk.c64 static struct sctp_chunk *sctp_make_control(const struct sctp_association *asoc,
67 static struct sctp_chunk *sctp_make_data(const struct sctp_association *asoc,
69 static struct sctp_chunk *_sctp_make_chunk(const struct sctp_association *asoc,
74 const struct sctp_association *asoc,
78 static int sctp_process_param(struct sctp_association *asoc,
92 struct sctp_association *asoc = chunk->asoc; in sctp_control_release_owner()
114 struct sctp_association *asoc = chunk->asoc; in sctp_control_set_owner_w()
221 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc, in sctp_make_init()
392 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc, in sctp_make_init_ack()
534 retval->asoc = (struct sctp_association *) asoc; in sctp_make_init_ack()
[all …]
Dauth.c237 const struct sctp_association *asoc, in sctp_auth_make_local_vector()
248 const struct sctp_association *asoc, in sctp_auth_make_peer_vector()
302 const struct sctp_association *asoc, in sctp_auth_asoc_create_secret()
369 struct sctp_association *asoc, in sctp_auth_asoc_copy_shkeys()
398 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp) in sctp_auth_asoc_init_active_key()
445 const struct sctp_association *asoc, in sctp_auth_get_shkey()
544 struct sctp_hmac *sctp_auth_asoc_get_hmac(const struct sctp_association *asoc) in sctp_auth_asoc_get_hmac()
604 int sctp_auth_asoc_verify_hmac_id(const struct sctp_association *asoc, in sctp_auth_asoc_verify_hmac_id()
626 void sctp_auth_asoc_set_default_hmac(struct sctp_association *asoc, in sctp_auth_asoc_set_default_hmac()
694 int sctp_auth_send_cid(enum sctp_cid chunk, const struct sctp_association *asoc) in sctp_auth_send_cid()
[all …]
Dulpevent.c47 struct sctp_association *asoc);
92 const struct sctp_association *asoc) in sctp_ulpevent_set_owner()
100 sctp_association_hold((struct sctp_association *)asoc); in sctp_ulpevent_set_owner()
102 event->asoc = (struct sctp_association *)asoc; in sctp_ulpevent_set_owner()
112 struct sctp_association *asoc = event->asoc; in sctp_ulpevent_release_owner()
130 const struct sctp_association *asoc, in sctp_ulpevent_make_assoc_change()
257 const struct sctp_association *asoc, in sctp_ulpevent_make_peer_addr_change()
370 sctp_ulpevent_make_remote_error(const struct sctp_association *asoc, in sctp_ulpevent_make_remote_error()
427 const struct sctp_association *asoc, struct sctp_chunk *chunk, in sctp_ulpevent_make_send_failed()
535 const struct sctp_association *asoc, in sctp_ulpevent_make_shutdown_event()
[all …]
Dinput.c63 static struct sctp_association *__sctp_rcv_lookup(struct net *net,
70 static struct sctp_association *__sctp_lookup_association(
100 struct sctp_association *asoc; in sctp_rcv()
391 void sctp_icmp_frag_needed(struct sock *sk, struct sctp_association *asoc, in sctp_icmp_frag_needed()
449 struct sctp_association *asoc, in sctp_icmp_proto_unreachable()
479 struct sctp_association **app, in sctp_err_lookup()
487 struct sctp_association *asoc; in sctp_err_lookup()
584 struct sctp_association *asoc = NULL; in sctp_v4_err()
978 static struct sctp_association *__sctp_lookup_association( in __sctp_lookup_association()
985 struct sctp_association *asoc = NULL; in __sctp_lookup_association()
[all …]
Dstream_sched.c144 int sctp_sched_set_sched(struct sctp_association *asoc, in sctp_sched_set_sched()
203 int sctp_sched_get_sched(struct sctp_association *asoc) in sctp_sched_get_sched()
214 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_set_value()
231 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid, in sctp_sched_get_value()
283 struct sctp_association *asoc; in sctp_sched_ops_from_stream()
285 asoc = container_of(stream, struct sctp_association, stream); in sctp_sched_ops_from_stream()
Dsocket.c88 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p,
91 static int sctp_wait_for_connect(struct sctp_association *, long *timeo_p);
101 static int sctp_send_asconf(struct sctp_association *asoc,
106 struct sctp_association *assoc,
120 static inline int sctp_wspace(struct sctp_association *asoc) in sctp_wspace()
154 struct sctp_association *asoc = chunk->asoc; in sctp_set_owner_w()
183 static void sctp_for_each_tx_datachunk(struct sctp_association *asoc, in sctp_for_each_tx_datachunk()
208 static void sctp_for_each_rx_skb(struct sctp_association *asoc, struct sock *sk, in sctp_for_each_rx_skb()
248 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id) in sctp_id2assoc()
250 struct sctp_association *asoc = NULL; in sctp_id2assoc()
[all …]
Dstream.c94 struct sctp_association *asoc; in sctp_stream_outq_migrate()
99 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_outq_migrate()
291 static int sctp_send_reconf(struct sctp_association *asoc, in sctp_send_reconf()
307 struct sctp_association *asoc; in sctp_stream_outq_is_empty()
310 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_outq_is_empty()
328 int sctp_send_reset_streams(struct sctp_association *asoc, in sctp_send_reset_streams()
442 int sctp_send_reset_assoc(struct sctp_association *asoc) in sctp_send_reset_assoc()
486 int sctp_send_add_streams(struct sctp_association *asoc, in sctp_send_add_streams()
548 struct sctp_association *asoc, __be32 resp_seq, in sctp_chunk_lookup_strreset_param()
574 static void sctp_update_strreset_result(struct sctp_association *asoc, in sctp_update_strreset_result()
[all …]
Dtransport.c229 struct sctp_association *asoc) in sctp_transport_set_owner()
246 struct sctp_association *asoc = transport->asoc; in sctp_transport_pmtu()
307 struct sctp_association *asoc = transport->asoc; in sctp_transport_route()
414 struct sctp_association *asoc = transport->asoc; in sctp_transport_raise_cwnd()
512 struct sctp_association *asoc = transport->asoc; in sctp_transport_lower_cwnd()
613 struct sctp_association *asoc = t->asoc; in sctp_transport_burst_limited()
654 struct sctp_association *asoc = t->asoc; in sctp_transport_reset()
Ddiag.c43 struct sctp_association *asoc) in inet_diag_msg_sctpasoc_fill()
113 struct sctp_association *asoc) in inet_diag_msg_sctpaddrs_fill()
138 static int inet_sctp_diag_fill(struct sock *sk, struct sctp_association *asoc, in inet_sctp_diag_fill()
244 static size_t inet_assoc_attr_size(struct sctp_association *asoc) in inet_assoc_attr_size()
268 struct sctp_association *assoc = tsp->asoc; in sctp_tsp_dump_one()
321 struct sctp_association *assoc; in sctp_sock_dump()
373 struct sctp_association *assoc = in sctp_sock_filter()
374 list_entry(ep->asocs.next, struct sctp_association, asocs); in sctp_sock_filter()
Dendpointola.c209 struct sctp_association *asoc) in sctp_endpoint_add_asoc()
321 struct sctp_association *sctp_endpoint_lookup_assoc( in sctp_endpoint_lookup_assoc()
326 struct sctp_association *asoc = NULL; in sctp_endpoint_lookup_assoc()
379 struct sctp_association *asoc; in sctp_endpoint_bh_rcv()
Dproc.c94 struct sctp_association *asoc; in sctp_seq_dump_local_addrs()
128 static void sctp_seq_dump_remote_addrs(struct seq_file *seq, struct sctp_association *assoc) in sctp_seq_dump_remote_addrs()
249 struct sctp_association *assoc; in sctp_assocs_seq_show()
309 struct sctp_association *assoc; in sctp_remaddr_seq_show()
Doutqueue.c205 void sctp_outq_init(struct sctp_association *asoc, struct sctp_outq *q) in sctp_outq_init()
356 static int sctp_prsctp_prune_sent(struct sctp_association *asoc, in sctp_prsctp_prune_sent()
398 static int sctp_prsctp_prune_unsent(struct sctp_association *asoc, in sctp_prsctp_prune_unsent()
438 void sctp_prsctp_prune(struct sctp_association *asoc, in sctp_prsctp_prune()
782 const struct sctp_association *asoc = transport->asoc; in sctp_packet_singleton()
801 struct sctp_association *asoc;
1217 static void sctp_sack_update_unack_data(struct sctp_association *assoc, in sctp_sack_update_unack_data()
1242 struct sctp_association *asoc = q->asoc; in sctp_outq_sack()
1588 struct sctp_association *asoc = transport->asoc; in sctp_check_transmitted()
1701 struct sctp_association *asoc = q->asoc; in sctp_mark_missing()
[all …]
Doutput.c92 struct sctp_association *asoc = tp->asoc; in sctp_packet_config()
230 struct sctp_association *asoc = pkt->transport->asoc; in sctp_packet_bundle_auth()
276 struct sctp_association *asoc; in sctp_packet_bundle_sack()
575 struct sctp_association *asoc = tp->asoc; in sctp_packet_transmit()
680 struct sctp_association *asoc = transport->asoc; in sctp_packet_can_append_data()
764 struct sctp_association *asoc = transport->asoc; in sctp_packet_append_data()
/Linux-v4.19/include/trace/events/
Dsctp.h14 const struct sctp_association *asoc),
53 const struct sctp_association *asoc,

12