Home
last modified time | relevance | path

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

/linux-4.4.14/include/net/sctp/
Dsm.h75 const struct sctp_association *,
180 struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *,
187 struct sctp_chunk *sctp_make_init(const struct sctp_association *,
190 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *,
194 struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *,
196 struct sctp_chunk *sctp_make_cookie_ack(const struct sctp_association *,
198 struct sctp_chunk *sctp_make_cwr(const struct sctp_association *,
201 struct sctp_chunk * sctp_make_datafrag_empty(struct sctp_association *,
205 struct sctp_chunk *sctp_make_ecne(const struct sctp_association *,
207 struct sctp_chunk *sctp_make_sack(const struct sctp_association *);
[all …]
Dauth.h37 struct sctp_association;
85 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp);
87 const struct sctp_association *asoc,
90 struct sctp_association *asoc,
95 struct sctp_hmac *sctp_auth_asoc_get_hmac(const struct sctp_association *asoc);
96 void sctp_auth_asoc_set_default_hmac(struct sctp_association *asoc,
98 int sctp_auth_asoc_verify_hmac_id(const struct sctp_association *asoc,
100 int sctp_auth_send_cid(sctp_cid_t chunk, const struct sctp_association *asoc);
101 int sctp_auth_recv_cid(sctp_cid_t chunk, const struct sctp_association *asoc);
102 void sctp_auth_calculate_hmac(const struct sctp_association *asoc,
[all …]
Dstructs.h74 struct sctp_association;
511 struct sctp_association *asoc);
536 struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *,
604 struct sctp_association *asoc;
659 const struct sctp_association *,
682 typedef struct sctp_chunk *(sctp_packet_phandler_t)(struct sctp_association *);
793 struct sctp_association *asoc;
952 struct sctp_association *);
1017 struct sctp_association *asoc;
1055 void sctp_outq_init(struct sctp_association *, struct sctp_outq *);
[all …]
Dulpevent.h50 struct sctp_association *asoc;
79 const struct sctp_association *asoc,
89 const struct sctp_association *asoc,
97 const struct sctp_association *asoc,
102 const struct sctp_association *asoc,
109 const struct sctp_association *asoc,
114 const struct sctp_association *asoc,
118 const struct sctp_association *asoc, gfp_t gfp);
120 struct sctp_ulpevent *sctp_ulpevent_make_rcvmsg(struct sctp_association *asoc,
125 const struct sctp_association *asoc, __u16 key_id,
[all …]
Dsctp.h109 struct sctp_association *asoc);
117 int sctp_primitive_ASSOCIATE(struct net *, struct sctp_association *, void *arg);
118 int sctp_primitive_SHUTDOWN(struct net *, struct sctp_association *, void *arg);
119 int sctp_primitive_ABORT(struct net *, struct sctp_association *, void *arg);
120 int sctp_primitive_SEND(struct net *, struct sctp_association *, void *arg);
121 int sctp_primitive_REQUESTHEARTBEAT(struct net *, struct sctp_association *, void *arg);
122 int sctp_primitive_ASCONF(struct net *, struct sctp_association *, void *arg);
129 void sctp_hash_established(struct sctp_association *);
130 void sctp_unhash_established(struct sctp_association *);
134 struct sctphdr *, struct sctp_association **,
[all …]
Dulpqueue.h46 struct sctp_association *asoc;
53 struct sctp_association *);
73 int sctp_clear_pd(struct sock *sk, struct sctp_association *asoc);
Dcommand.h132 struct sctp_association *asoc;
173 SCTP_ARG_CONSTRUCTOR(ASOC, struct sctp_association *, asoc) in SCTP_ARG_CONSTRUCTOR()
/linux-4.4.14/net/sctp/
Dsm_sideeffect.c58 struct sctp_association *asoc,
66 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()
246 struct sctp_association *asoc = transport->asoc; in sctp_generate_t3_rtx_event()
286 static void sctp_generate_timeout_event(struct sctp_association *asoc, in sctp_generate_timeout_event()
326 struct sctp_association *asoc = (struct sctp_association *) data; in sctp_generate_t1_cookie_event()
332 struct sctp_association *asoc = (struct sctp_association *) data; in sctp_generate_t1_init_event()
[all …]
Dsm_statefuns.c64 const struct sctp_association *asoc,
68 static int sctp_eat_data(const struct sctp_association *asoc,
72 const struct sctp_association *asoc,
76 const struct sctp_association *asoc,
82 const struct sctp_association *asoc,
88 const struct sctp_association *asoc,
94 const struct sctp_association *asoc,
103 const struct sctp_association *asoc,
109 const struct sctp_association *asoc,
118 const struct sctp_association *asoc,
[all …]
Dinput.c62 static struct sctp_association *__sctp_rcv_lookup(struct net *net,
69 static struct sctp_association *__sctp_lookup_association(
110 struct sctp_association *asoc; in sctp_rcv()
389 void sctp_icmp_frag_needed(struct sock *sk, struct sctp_association *asoc, in sctp_icmp_frag_needed()
442 struct sctp_association *asoc, in sctp_icmp_proto_unreachable()
472 struct sctp_association **app, in sctp_err_lookup()
479 struct sctp_association *asoc; in sctp_err_lookup()
547 void sctp_err_finish(struct sock *sk, struct sctp_association *asoc) in sctp_err_finish()
575 struct sctp_association *asoc = NULL; in sctp_v4_err()
786 static void __sctp_hash_established(struct sctp_association *asoc) in __sctp_hash_established()
[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(struct sctp_association *asoc, in sctp_association_init()
295 struct sctp_association *sctp_association_new(const struct sctp_endpoint *ep, in sctp_association_new()
300 struct sctp_association *asoc; in sctp_association_new()
324 void sctp_association_free(struct sctp_association *asoc) in sctp_association_free()
406 static void sctp_association_destroy(struct sctp_association *asoc) in sctp_association_destroy()
429 void sctp_assoc_set_primary(struct sctp_association *asoc, in sctp_assoc_set_primary()
486 void sctp_assoc_rm_peer(struct sctp_association *asoc, in sctp_assoc_rm_peer()
[all …]
Dsm_make_chunk.c64 static struct sctp_chunk *sctp_make_control(const struct sctp_association *asoc,
66 static struct sctp_chunk *sctp_make_data(const struct sctp_association *asoc,
68 static struct sctp_chunk *_sctp_make_chunk(const struct sctp_association *asoc,
71 const struct sctp_association *asoc,
75 static int sctp_process_param(struct sctp_association *asoc,
92 struct sctp_association *asoc = chunk->asoc; in sctp_control_set_owner_w()
217 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc, in sctp_make_init()
382 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc, in sctp_make_init_ack()
519 retval->asoc = (struct sctp_association *) asoc; in sctp_make_init_ack()
562 struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *asoc, in sctp_make_cookie_echo()
[all …]
Dulpevent.c47 struct sctp_association *asoc);
92 const struct sctp_association *asoc) in sctp_ulpevent_set_owner()
99 sctp_association_hold((struct sctp_association *)asoc); in sctp_ulpevent_set_owner()
101 event->asoc = (struct sctp_association *)asoc; in sctp_ulpevent_set_owner()
109 struct sctp_association *asoc = event->asoc; in sctp_ulpevent_release_owner()
127 const struct sctp_association *asoc, in sctp_ulpevent_make_assoc_change()
256 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()
536 const struct sctp_association *asoc, in sctp_ulpevent_make_shutdown_event()
[all …]
Dauth.c225 const struct sctp_association *asoc, in sctp_auth_make_local_vector()
237 const struct sctp_association *asoc, in sctp_auth_make_peer_vector()
291 const struct sctp_association *asoc, in sctp_auth_asoc_create_secret()
358 struct sctp_association *asoc, in sctp_auth_asoc_copy_shkeys()
387 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp) in sctp_auth_asoc_init_active_key()
428 const struct sctp_association *asoc, in sctp_auth_get_shkey()
526 struct sctp_hmac *sctp_auth_asoc_get_hmac(const struct sctp_association *asoc) in sctp_auth_asoc_get_hmac()
585 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(sctp_cid_t chunk, const struct sctp_association *asoc) in sctp_auth_send_cid()
[all …]
Dendpointola.c207 struct sctp_association *asoc) in sctp_endpoint_add_asoc()
320 static struct sctp_association *__sctp_endpoint_lookup_assoc( in __sctp_endpoint_lookup_assoc()
325 struct sctp_association *asoc = NULL; in __sctp_endpoint_lookup_assoc()
326 struct sctp_association *tmp; in __sctp_endpoint_lookup_assoc()
365 struct sctp_association *sctp_endpoint_lookup_assoc( in sctp_endpoint_lookup_assoc()
370 struct sctp_association *asoc; in sctp_endpoint_lookup_assoc()
409 struct sctp_association *asoc; in sctp_endpoint_bh_rcv()
Dsocket.c85 static int sctp_wait_for_sndbuf(struct sctp_association *, long *timeo_p,
88 static int sctp_wait_for_connect(struct sctp_association *, long *timeo_p);
98 static int sctp_send_asconf(struct sctp_association *asoc,
103 struct sctp_association *, sctp_socket_type_t);
116 static inline int sctp_wspace(struct sctp_association *asoc) in sctp_wspace()
150 struct sctp_association *asoc = chunk->asoc; in sctp_set_owner_w()
195 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id) in sctp_id2assoc()
197 struct sctp_association *asoc = NULL; in sctp_id2assoc()
211 struct sctp_association, asocs); in sctp_id2assoc()
220 asoc = (struct sctp_association *)idr_find(&sctp_assocs_id, (int)id); in sctp_id2assoc()
[all …]
Dtransport.c214 struct sctp_association *asoc) in sctp_transport_set_owner()
271 struct sctp_association *asoc = transport->asoc; in sctp_transport_route()
384 struct sctp_association *asoc = transport->asoc; in sctp_transport_raise_cwnd()
472 struct sctp_association *asoc = transport->asoc; in sctp_transport_lower_cwnd()
571 struct sctp_association *asoc = t->asoc; in sctp_transport_burst_limited()
612 struct sctp_association *asoc = t->asoc; in sctp_transport_reset()
Doutput.c111 struct sctp_association *asoc = transport->asoc; in sctp_packet_init()
192 struct sctp_association *asoc = pkt->transport->asoc; in sctp_packet_bundle_auth()
235 struct sctp_association *asoc; in sctp_packet_bundle_sack()
382 struct sctp_association *asoc = tp->asoc; in sctp_packet_transmit()
640 struct sctp_association *asoc = transport->asoc; in sctp_packet_can_append_data()
726 struct sctp_association *asoc = transport->asoc; in sctp_packet_append_data()
Dproc.c123 struct sctp_association *asoc; in sctp_seq_dump_local_addrs()
157 static void sctp_seq_dump_remote_addrs(struct seq_file *seq, struct sctp_association *assoc) in sctp_seq_dump_remote_addrs()
321 struct sctp_association *assoc; in sctp_assocs_seq_show()
441 struct sctp_association *assoc; in sctp_remaddr_seq_show()
Dprimitive.c53 int sctp_primitive_ ## name(struct net *net, struct sctp_association *asoc, \
Doutqueue.c200 void sctp_outq_init(struct sctp_association *asoc, struct sctp_outq *q) in sctp_outq_init()
710 struct sctp_association *asoc = q->asoc; in sctp_outq_flush()
1101 static void sctp_sack_update_unack_data(struct sctp_association *assoc, in sctp_sack_update_unack_data()
1126 struct sctp_association *asoc = q->asoc; in sctp_outq_sack()
1470 struct sctp_association *asoc = transport->asoc; in sctp_check_transmitted()
1583 struct sctp_association *asoc = q->asoc; in sctp_mark_missing()
1688 struct sctp_association *asoc = q->asoc; in sctp_generate_fwdtsn()
Dchunk.c93 struct sctp_association *asoc = NULL; in sctp_datamsg_destroy()
165 struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *asoc, in sctp_datamsg_from_user()
Dulpqueue.c57 struct sctp_association *asoc) in sctp_ulpq_init()
134 int sctp_clear_pd(struct sock *sk, struct sctp_association *asoc) in sctp_clear_pd()
417 struct sctp_association *asoc; in sctp_ulpq_retrieve_reassembled()
1038 struct sctp_association *asoc; in sctp_ulpq_partial_delivery()
1083 struct sctp_association *asoc; in sctp_ulpq_renege()
Dipv6.c146 struct sctp_association *asoc; in sctp_v6_err()
236 struct sctp_association *asoc = t->asoc; in sctp_v6_get_dst()
641 struct sctp_association *asoc) in sctp_v6_create_accept_sk()
739 struct sctp_association *asoc; in sctp_inet6_event_msgname()
Dprobe.c132 const struct sctp_association *asoc, in jsctp_sf_eat_sack()
Dprotocol.c426 struct sctp_association *asoc = t->asoc; in sctp_v4_get_dst()
572 struct sctp_association *asoc) in sctp_v4_create_accept_sk()
899 struct sctp_association *asoc; in sctp_inet_event_msgname()