Home
last modified time | relevance | path

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

12

/linux/include/net/sctp/
H A Dsm.h56 const struct sctp_association *asoc,
164 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *,
169 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
172 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc,
175 struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *asoc,
177 struct sctp_chunk *sctp_make_cookie_ack(const struct sctp_association *asoc,
179 struct sctp_chunk *sctp_make_cwr(const struct sctp_association *asoc,
182 struct sctp_chunk *sctp_make_idata(const struct sctp_association *asoc,
184 struct sctp_chunk *sctp_make_ifwdtsn(const struct sctp_association *asoc,
187 struct sctp_chunk *sctp_make_datafrag_empty(const struct sctp_association *aso
[all...]
H A Dauth.h22 struct sctp_association;
69 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp);
71 const struct sctp_association *asoc,
74 struct sctp_association *asoc,
80 sctp_auth_asoc_get_hmac(const struct sctp_association *asoc);
81 void sctp_auth_asoc_set_default_hmac(struct sctp_association *asoc,
83 int sctp_auth_asoc_verify_hmac_id(const struct sctp_association *asoc,
86 const struct sctp_association *asoc);
88 const struct sctp_association *asoc);
89 int sctp_auth_calculate_hmac(const struct sctp_association *asoc,
[all …]
H A 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 …]
H A Dstructs.h63 struct sctp_association;
522 struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *,
606 struct sctp_association *asoc;
663 const struct sctp_association *,
805 struct sctp_association *asoc;
993 struct sctp_association *);
1067 struct sctp_association *asoc;
1108 void sctp_outq_init(struct sctp_association *, struct sctp_outq *);
1118 void sctp_prsctp_prune(struct sctp_association *asoc,
1344 void sctp_endpoint_add_asoc(struct sctp_endpoint *, struct sctp_association *);
[all …]
H A Dsctp.h116 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 **,
144 void sctp_icmp_frag_needed(struct sock *, struct sctp_association *,
[all …]
H A 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);
H A Dcommand.h117 struct sctp_association *asoc;
158 SCTP_ARG_CONSTRUCTOR(ASOC, struct sctp_association *, asoc) in SCTP_ARG_CONSTRUCTOR()
/linux/net/sctp/
H A Dsm_statefuns.c55 const struct sctp_association *asoc,
58 static int sctp_eat_data(const struct sctp_association *asoc,
63 const struct sctp_association *asoc,
67 const struct sctp_association *asoc,
74 const struct sctp_association *asoc,
82 const struct sctp_association *asoc,
89 const struct sctp_association *asoc,
96 const struct sctp_association *asoc,
106 const struct sctp_association *asoc,
112 const struct sctp_association *asoc,
[all …]
H A 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()
286 struct sctp_association *sctp_association_new(const struct sctp_endpoint *ep, in sctp_association_new()
290 struct sctp_association *asoc; in sctp_association_new()
314 void sctp_association_free(struct sctp_association *asoc) in sctp_association_free()
400 static void sctp_association_destroy(struct sctp_association *asoc) in sctp_association_destroy()
423 void sctp_assoc_set_primary(struct sctp_association *asoc, in sctp_assoc_set_primary()
[all …]
H A 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()
319 struct sctp_association *asoc = in sctp_generate_t1_init_event()
[all …]
H A 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()
198 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc, in sctp_make_init()
371 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc, in sctp_make_init_ack()
516 retval->asoc = (struct sctp_association *) asoc; in sctp_make_init_ack()
[all …]
H A 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 …]
H A 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 *aso in sctp_udp_v4_err()
[all...]
H A Dauth.c223 const struct sctp_association *asoc, in sctp_auth_make_local_vector()
234 const struct sctp_association *asoc, in sctp_auth_make_peer_vector()
288 const struct sctp_association *asoc, in sctp_auth_asoc_create_secret()
355 struct sctp_association *asoc, in sctp_auth_asoc_copy_shkeys()
459 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp) in sctp_auth_asoc_init_active_key()
506 const struct sctp_association *asoc, in sctp_auth_get_shkey()
532 sctp_auth_asoc_get_hmac(const struct sctp_association *asoc) in sctp_auth_asoc_get_hmac()
576 int sctp_auth_asoc_verify_hmac_id(const struct sctp_association *asoc, in sctp_auth_asoc_verify_hmac_id()
598 void sctp_auth_asoc_set_default_hmac(struct sctp_association *asoc, in sctp_auth_asoc_set_default_hmac()
658 int sctp_auth_send_cid(enum sctp_cid chunk, const struct sctp_association *asoc) in sctp_auth_send_cid()
[all …]
H A 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()
H A Dsocket.c74 static int sctp_wait_for_sndbuf(struct sctp_association *asoc,
78 static int sctp_wait_for_connect(struct sctp_association *, long *timeo_p);
88 static int sctp_send_asconf(struct sctp_association *asoc,
93 struct sctp_association *assoc,
108 static inline int sctp_wspace(struct sctp_association *asoc) in sctp_wspace()
127 struct sctp_association *asoc = chunk->asoc; in sctp_set_owner_w()
166 static void sctp_for_each_tx_datachunk(struct sctp_association *asoc, in sctp_for_each_tx_datachunk()
193 static void sctp_for_each_rx_skb(struct sctp_association *asoc, struct sock *sk, in sctp_for_each_rx_skb()
233 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id) in sctp_id2assoc()
235 struct sctp_association *asoc = NULL; in sctp_id2assoc()
[all …]
H A Dstream.c36 struct sctp_association *asoc; in sctp_stream_shrink_out()
40 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_shrink_out()
238 static int sctp_send_reconf(struct sctp_association *asoc, in sctp_send_reconf()
253 struct sctp_association *asoc; in sctp_stream_outq_is_empty()
256 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_outq_is_empty()
274 int sctp_send_reset_streams(struct sctp_association *asoc, in sctp_send_reset_streams()
393 int sctp_send_reset_assoc(struct sctp_association *asoc) in sctp_send_reset_assoc()
437 int sctp_send_add_streams(struct sctp_association *asoc, in sctp_send_add_streams()
499 struct sctp_association *asoc, __be32 resp_seq, in sctp_chunk_lookup_strreset_param()
525 static void sctp_update_strreset_result(struct sctp_association *asoc, in sctp_update_strreset_result()
[all …]
H A Dendpointola.c156 struct sctp_association *asoc) in sctp_endpoint_add_asoc()
271 struct sctp_association *sctp_endpoint_lookup_assoc( in sctp_endpoint_lookup_assoc()
276 struct sctp_association *asoc = NULL; in sctp_endpoint_lookup_assoc()
331 struct sctp_association *asoc; in sctp_endpoint_bh_rcv()
H A Ddiag.c28 struct sctp_association *asoc) in inet_diag_msg_sctpasoc_fill()
102 struct sctp_association *asoc) in inet_diag_msg_sctpaddrs_fill()
127 static int inet_sctp_diag_fill(struct sock *sk, struct sctp_association *asoc, in inet_sctp_diag_fill()
235 struct sctp_association *asoc) in inet_assoc_attr_size()
256 struct sctp_association *assoc = tsp->asoc; in sctp_sock_dump_one()
306 struct sctp_association *assoc; in sctp_sock_dump()
H A Dtransport.c224 struct sctp_association *asoc) in sctp_transport_set_owner()
241 struct sctp_association *asoc = transport->asoc; in sctp_transport_pmtu()
444 struct sctp_association *asoc = transport->asoc; in sctp_transport_route()
556 struct sctp_association *asoc = transport->asoc; in sctp_transport_raise_cwnd()
654 struct sctp_association *asoc = transport->asoc; in sctp_transport_lower_cwnd()
755 struct sctp_association *asoc = t->asoc; in sctp_transport_burst_limited()
796 struct sctp_association *asoc = t->asoc; in sctp_transport_reset()
H A 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()
771 const struct sctp_association *asoc = transport->asoc; in sctp_packet_singleton()
794 struct sctp_association *asoc;
1226 static void sctp_sack_update_unack_data(struct sctp_association *assoc, in sctp_sack_update_unack_data()
1251 struct sctp_association *asoc = q->asoc; in sctp_outq_sack()
1606 struct sctp_association *asoc = transport->asoc; in sctp_check_transmitted()
1718 struct sctp_association *asoc = q->asoc; in sctp_mark_missing()
[all …]
H A 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()
578 struct sctp_association *asoc = tp->asoc; in sctp_packet_transmit()
683 struct sctp_association *asoc = transport->asoc; in sctp_packet_can_append_data()
767 struct sctp_association *asoc = transport->asoc; in sctp_packet_append_data()
H A Dstream_sched_rr.c151 struct sctp_association *asoc; in sctp_sched_rr_sched_all()
155 asoc = container_of(stream, struct sctp_association, stream); in sctp_sched_rr_sched_all()
/linux/security/selinux/include/
H A Dnetlabel.h38 int selinux_netlbl_sctp_assoc_request(struct sctp_association *asoc,
91 selinux_netlbl_sctp_assoc_request(struct sctp_association *asoc, in selinux_netlbl_sctp_assoc_request()
/linux/include/trace/events/
H A Dsctp.h14 const struct sctp_association *asoc),
53 const struct sctp_association *asoc,

12