Home
last modified time | relevance | path

Searched full:asoc (Results 1 – 25 of 494) sorted by relevance

12345678910>>...20

/linux/net/sctp/
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);
52 struct sctp_association *asoc, in sctp_association_init() argument
65 asoc->ep = (struct sctp_endpoint *)ep; in sctp_association_init()
66 asoc->base.sk = (struct sock *)sk; in sctp_association_init()
67 asoc->base.net = sock_net(sk); in sctp_association_init()
69 sctp_endpoint_hold(asoc->ep); in sctp_association_init()
70 sock_hold(asoc->base.sk); in sctp_association_init()
73 asoc in sctp_association_init()
290 struct sctp_association *asoc; sctp_association_new() local
314 sctp_association_free(struct sctp_association * asoc) sctp_association_free() argument
400 sctp_association_destroy(struct sctp_association * asoc) sctp_association_destroy() argument
423 sctp_assoc_set_primary(struct sctp_association * asoc,struct sctp_transport * transport) sctp_assoc_set_primary() argument
482 sctp_assoc_rm_peer(struct sctp_association * asoc,struct sctp_transport * peer) sctp_assoc_rm_peer() argument
583 sctp_assoc_add_peer(struct sctp_association * asoc,const union sctp_addr * addr,const gfp_t gfp,const int peer_state) sctp_assoc_add_peer() argument
740 sctp_assoc_del_peer(struct sctp_association * asoc,const union sctp_addr * addr) sctp_assoc_del_peer() argument
759 sctp_assoc_lookup_paddr(const struct sctp_association * asoc,const union sctp_addr * address) sctp_assoc_lookup_paddr() argument
776 sctp_assoc_del_nonprimary_peers(struct sctp_association * asoc,struct sctp_transport * primary) sctp_assoc_del_nonprimary_peers() argument
794 sctp_assoc_control_transport(struct sctp_association * asoc,struct sctp_transport * transport,enum sctp_transport_cmd command,sctp_sn_error_t error) sctp_assoc_control_transport() argument
859 sctp_association_hold(struct sctp_association * asoc) sctp_association_hold() argument
867 sctp_association_put(struct sctp_association * asoc) sctp_association_put() argument
876 sctp_association_get_next_tsn(struct sctp_association * asoc) sctp_association_get_next_tsn() argument
909 sctp_get_ecne_prepend(struct sctp_association * asoc) sctp_get_ecne_prepend() argument
923 sctp_assoc_lookup_tsn(struct sctp_association * asoc,__u32 tsn) sctp_assoc_lookup_tsn() argument
981 struct sctp_association *asoc = sctp_assoc_bh_rcv() local
1103 sctp_assoc_update(struct sctp_association * asoc,struct sctp_association * new) sctp_assoc_update() argument
1275 sctp_assoc_update_retran_path(struct sctp_association * asoc) sctp_assoc_update_retran_path() argument
1313 sctp_select_active_and_retran_path(struct sctp_association * asoc) sctp_select_active_and_retran_path() argument
1381 sctp_assoc_choose_alter_transport(struct sctp_association * asoc,struct sctp_transport * last_sent_to) sctp_assoc_choose_alter_transport() argument
1398 sctp_assoc_update_frag_point(struct sctp_association * asoc) sctp_assoc_update_frag_point() argument
1412 sctp_assoc_set_pmtu(struct sctp_association * asoc,__u32 pmtu) sctp_assoc_set_pmtu() argument
1426 sctp_assoc_sync_pmtu(struct sctp_association * asoc) sctp_assoc_sync_pmtu() argument
1449 sctp_peer_needs_update(struct sctp_association * asoc) sctp_peer_needs_update() argument
1471 sctp_assoc_rwnd_increase(struct sctp_association * asoc,unsigned int len) sctp_assoc_rwnd_increase() argument
1530 sctp_assoc_rwnd_decrease(struct sctp_association * asoc,unsigned int len) sctp_assoc_rwnd_decrease() argument
1572 sctp_assoc_set_bind_addr_from_ep(struct sctp_association * asoc,enum sctp_scope scope,gfp_t gfp) sctp_assoc_set_bind_addr_from_ep() argument
1596 sctp_assoc_set_bind_addr_from_cookie(struct sctp_association * asoc,struct sctp_cookie * cookie,gfp_t gfp) sctp_assoc_set_bind_addr_from_cookie() argument
1610 sctp_assoc_lookup_laddr(struct sctp_association * asoc,const union sctp_addr * laddr) sctp_assoc_lookup_laddr() argument
1624 sctp_assoc_set_id(struct sctp_association * asoc,gfp_t gfp) sctp_assoc_set_id() argument
1652 sctp_assoc_free_asconf_queue(struct sctp_association * asoc) sctp_assoc_free_asconf_queue() argument
1664 sctp_assoc_free_asconf_acks(struct sctp_association * asoc) sctp_assoc_free_asconf_acks() argument
1677 sctp_assoc_clean_asconf_ack_cache(const struct sctp_association * asoc) sctp_assoc_clean_asconf_ack_cache() argument
1698 sctp_assoc_lookup_asconf_ack(const struct sctp_association * asoc,__be32 serial) sctp_assoc_lookup_asconf_ack() argument
1718 sctp_asconf_queue_teardown(struct sctp_association * asoc) sctp_asconf_queue_teardown() argument
[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() argument
69 asoc->last_ecne_tsn = lowest_tsn; in sctp_do_ecn_ce_work()
70 asoc->need_ecne = 1; 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() argument
101 if (TSN_lt(asoc->last_cwr_tsn, lowest_tsn)) { in sctp_do_ecn_ecne_work()
107 transport = sctp_assoc_lookup_tsn(asoc, lowest_tsn); in sctp_do_ecn_ecne_work()
113 asoc->last_cwr_tsn = lowest_tsn; in sctp_do_ecn_ecne_work()
119 repl = sctp_make_cwr(asoc, asoc->last_cwr_tsn, chunk); in sctp_do_ecn_ecne_work()
[all …]
H A Dstream.c27 struct sctp_association *asoc; in sctp_stream_shrink_out() local
31 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_shrink_out()
32 outq = &asoc->outqueue; in sctp_stream_shrink_out()
47 if (asoc->peer.prsctp_capable && in sctp_stream_shrink_out()
49 asoc->sent_cnt_removable--; in sctp_stream_shrink_out()
229 static int sctp_send_reconf(struct sctp_association *asoc, in sctp_send_reconf() argument
234 retval = sctp_primitive_RECONF(asoc->base.net, asoc, chunk); in sctp_send_reconf()
244 struct sctp_association *asoc; in sctp_stream_outq_is_empty() local
247 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_outq_is_empty()
248 if (!asoc->outqueue.out_qlen) in sctp_stream_outq_is_empty()
[all …]
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,
81 const struct sctp_association *asoc,
88 const struct sctp_association *asoc,
95 const struct sctp_association *asoc,
105 const struct sctp_association *asoc,
111 const struct sctp_association *asoc,
[all …]
H A Dsocket.c74 static int sctp_wait_for_sndbuf(struct sctp_association *asoc,
88 static int sctp_send_asconf(struct sctp_association *asoc,
108 static inline int sctp_wspace(struct sctp_association *asoc)
110 struct sock *sk = asoc->base.sk; in sctp_wspace()
112 return asoc->ep->sndbuf_policy ? sk->sk_sndbuf - asoc->sndbuf_used in sctp_wspace()
127 struct sctp_association *asoc = chunk->asoc; in sctp_set_owner_w()
128 struct sock *sk = asoc->base.sk; in sctp_set_owner_w() local
131 sctp_association_hold(asoc); in sctp_set_owner_w()
109 sctp_wspace(struct sctp_association * asoc) sctp_wspace() argument
167 sctp_for_each_tx_datachunk(struct sctp_association * asoc,bool clear,void (* cb)(struct sctp_chunk *)) sctp_for_each_tx_datachunk() argument
194 sctp_for_each_rx_skb(struct sctp_association * asoc,struct sock * sk,void (* cb)(struct sk_buff *,struct sock *)) sctp_for_each_rx_skb() argument
236 struct sctp_association *asoc = NULL; sctp_id2assoc() local
469 sctp_send_asconf(struct sctp_association * asoc,struct sctp_chunk * chunk) sctp_send_asconf() argument
562 struct sctp_association *asoc; sctp_send_asconf_add_ip() local
764 struct sctp_association *asoc; sctp_send_asconf_del_ip() local
1073 struct sctp_association *asoc; sctp_connect_new_asoc() local
1135 sctp_connect_add_peer(struct sctp_association * asoc,union sctp_addr * daddr,int addr_len) sctp_connect_add_peer() argument
1173 struct sctp_association *asoc; __sctp_connect() local
1488 struct sctp_association *asoc; sctp_close() local
1664 struct sctp_association *asoc; sctp_sendmsg_new_asoc() local
1753 sctp_sendmsg_check_sflags(struct sctp_association * asoc,__u16 sflags,struct msghdr * msg,size_t msg_len) sctp_sendmsg_check_sflags() argument
1791 sctp_sendmsg_to_asoc(struct sctp_association * asoc,struct msghdr * msg,size_t msg_len,struct sctp_transport * transport,struct sctp_sndrcvinfo * sinfo) sctp_sendmsg_to_asoc() argument
1918 sctp_sendmsg_update_sinfo(struct sctp_association * asoc,struct sctp_sndrcvinfo * sinfo,struct sctp_cmsgs * cmsgs) sctp_sendmsg_update_sinfo() argument
1949 struct sctp_association *asoc, *tmp; sctp_sendmsg() local
2225 struct sctp_association *asoc; sctp_setsockopt_events() local
2429 sctp_apply_peer_addr_params(struct sctp_paddrparams * params,struct sctp_transport * trans,struct sctp_association * asoc,struct sctp_sock * sp,int hb_change,int pmtud_change,int sackdelay_change) sctp_apply_peer_addr_params() argument
2623 struct sctp_association *asoc = NULL; sctp_setsockopt_peer_addr_params() local
2708 sctp_apply_asoc_delayed_ack(struct sctp_sack_info * params,struct sctp_association * asoc) sctp_apply_asoc_delayed_ack() argument
2783 struct sctp_association *asoc; __sctp_setsockopt_delayed_ack() local
2909 struct sctp_association *asoc; sctp_setsockopt_default_send_param() local
2967 struct sctp_association *asoc; sctp_setsockopt_default_sndinfo() local
3083 struct sctp_association *asoc; sctp_setsockopt_rtoinfo() local
3148 struct sctp_association *asoc; sctp_setsockopt_associnfo() local
3258 struct sctp_association *asoc; sctp_setsockopt_maxseg() local
3318 struct sctp_association *asoc = NULL; sctp_setsockopt_peer_primary_addr() local
3405 struct sctp_association *asoc; sctp_setsockopt_context() local
3524 struct sctp_association *asoc; sctp_setsockopt_maxburst() local
3636 struct sctp_association *asoc; sctp_setsockopt_auth_key() local
3697 struct sctp_association *asoc; sctp_setsockopt_active_key() local
3745 struct sctp_association *asoc; sctp_setsockopt_del_key() local
3793 struct sctp_association *asoc; sctp_setsockopt_deactivate_key() local
3882 struct sctp_association *asoc; sctp_setsockopt_paddr_thresholds() local
3966 struct sctp_association *asoc; sctp_setsockopt_pr_supported() local
3986 struct sctp_association *asoc; sctp_setsockopt_default_prinfo() local
4037 struct sctp_association *asoc; sctp_setsockopt_reconfig_supported() local
4061 struct sctp_association *asoc; sctp_setsockopt_enable_strreset() local
4102 struct sctp_association *asoc; sctp_setsockopt_reset_streams() local
4124 struct sctp_association *asoc; sctp_setsockopt_reset_assoc() local
4140 struct sctp_association *asoc; sctp_setsockopt_add_streams() local
4157 struct sctp_association *asoc; sctp_setsockopt_scheduler() local
4199 struct sctp_association *asoc; sctp_setsockopt_scheduler_value() local
4235 struct sctp_association *asoc; sctp_setsockopt_interleaving_supported() local
4270 sctp_assoc_ulpevent_type_set(struct sctp_event * param,struct sctp_association * asoc) sctp_assoc_ulpevent_type_set() argument
4294 struct sctp_association *asoc; sctp_setsockopt_event() local
4337 struct sctp_association *asoc; sctp_setsockopt_asconf_supported() local
4367 struct sctp_association *asoc; sctp_setsockopt_auth_supported() local
4401 struct sctp_association *asoc; sctp_setsockopt_ecn_supported() local
4423 struct sctp_association *asoc; sctp_setsockopt_pf_expose() local
4451 struct sctp_association *asoc; sctp_setsockopt_encap_port() local
4501 struct sctp_association *asoc; sctp_setsockopt_probe_interval() local
4860 struct sctp_association *asoc; sctp_accept() local
5161 struct sctp_association *asoc; sctp_shutdown() local
5170 sctp_get_sctp_info(struct sock * sk,struct sctp_association * asoc,struct sctp_info * info) sctp_get_sctp_info() argument
5419 struct sctp_association *asoc = NULL; sctp_getsockopt_sctp_status() local
5633 struct sctp_association *asoc = sctp_id2assoc(sk, id); sctp_do_peeloff() local
5921 struct sctp_association *asoc = NULL; sctp_getsockopt_peer_addr_params() local
6064 struct sctp_association *asoc = NULL; sctp_getsockopt_delayed_ack() local
6149 struct sctp_association *asoc; sctp_getsockopt_peer_addrs() local
6246 struct sctp_association *asoc; sctp_getsockopt_local_addrs() local
6354 struct sctp_association *asoc; sctp_getsockopt_primary_addr() local
6436 struct sctp_association *asoc; sctp_getsockopt_default_send_param() local
6482 struct sctp_association *asoc; sctp_getsockopt_default_sndinfo() local
6561 struct sctp_association *asoc; sctp_getsockopt_rtoinfo() local
6617 struct sctp_association *asoc; sctp_getsockopt_associnfo() local
6707 struct sctp_association *asoc; sctp_getsockopt_context() local
6764 struct sctp_association *asoc; sctp_getsockopt_maxseg() local
6859 struct sctp_association *asoc; sctp_getsockopt_maxburst() local
6935 struct sctp_association *asoc; sctp_getsockopt_active_key() local
6971 struct sctp_association *asoc; sctp_getsockopt_peer_auth_chunks() local
7016 struct sctp_association *asoc; sctp_getsockopt_local_auth_chunks() local
7070 struct sctp_association *asoc; sctp_getsockopt_assoc_number() local
7126 struct sctp_association *asoc; sctp_getsockopt_assoc_ids() local
7178 struct sctp_association *asoc; sctp_getsockopt_paddr_thresholds() local
7236 struct sctp_association *asoc = NULL; sctp_getsockopt_assoc_stats() local
7334 struct sctp_association *asoc; sctp_getsockopt_pr_supported() local
7373 struct sctp_association *asoc; sctp_getsockopt_default_prinfo() local
7419 struct sctp_association *asoc; sctp_getsockopt_pr_assocstatus() local
7478 struct sctp_association *asoc; sctp_getsockopt_pr_streamstatus() local
7542 struct sctp_association *asoc; sctp_getsockopt_reconfig_supported() local
7581 struct sctp_association *asoc; sctp_getsockopt_enable_strreset() local
7620 struct sctp_association *asoc; sctp_getsockopt_scheduler() local
7659 struct sctp_association *asoc; sctp_getsockopt_scheduler_value() local
7701 struct sctp_association *asoc; sctp_getsockopt_interleaving_supported() local
7758 struct sctp_association *asoc; sctp_getsockopt_event() local
7795 struct sctp_association *asoc; sctp_getsockopt_asconf_supported() local
7834 struct sctp_association *asoc; sctp_getsockopt_auth_supported() local
7873 struct sctp_association *asoc; sctp_getsockopt_ecn_supported() local
7912 struct sctp_association *asoc; sctp_getsockopt_pf_expose() local
7949 struct sctp_association *asoc; sctp_getsockopt_encap_port() local
8010 struct sctp_association *asoc; sctp_getsockopt_probe_interval() local
9086 __sctp_write_space(struct sctp_association * asoc) __sctp_write_space() argument
9118 sctp_wake_up_waiters(struct sock * sk,struct sctp_association * asoc) sctp_wake_up_waiters() argument
9164 struct sctp_association *asoc = chunk->asoc; sctp_wfree() local
9219 sctp_wait_for_sndbuf(struct sctp_association * asoc,struct sctp_transport * transport,long * timeo_p,size_t msg_len) sctp_wait_for_sndbuf() argument
9309 struct sctp_association *asoc; sctp_write_space() local
9336 sctp_wait_for_connect(struct sctp_association * asoc,long * timeo_p) sctp_wait_for_connect() argument
9472 sctp_copy_sock(struct sock * newsk,struct sock * sk,struct sctp_association * asoc) sctp_copy_sock() argument
[all...]
H A Dstream_sched.c60 struct sctp_stream *stream = &q->asoc->stream; in sctp_sched_fcfs_dequeue()
148 int sctp_sched_set_sched(struct sctp_association *asoc, in sctp_sched_set_sched() argument
151 struct sctp_sched_ops *old = asoc->outqueue.sched; in sctp_sched_set_sched()
165 sctp_sched_free_sched(&asoc->stream); in sctp_sched_set_sched()
167 asoc->outqueue.sched = n; in sctp_sched_set_sched()
168 n->init(&asoc->stream); in sctp_sched_set_sched()
169 for (i = 0; i < asoc->stream.outcnt; i++) { in sctp_sched_set_sched()
170 if (!SCTP_SO(&asoc->stream, i)->ext) in sctp_sched_set_sched()
173 ret = n->init_sid(&asoc->stream, i, GFP_ATOMIC); in sctp_sched_set_sched()
179 list_for_each_entry(ch, &asoc->outqueue.out_chunk_list, list) { in sctp_sched_set_sched()
[all …]
H A Dauth.c223 const struct sctp_association *asoc, in sctp_auth_make_local_vector()
227 (struct sctp_random_param *)asoc->c.auth_random, in sctp_auth_make_local_vector()
228 (struct sctp_chunks_param *)asoc->c.auth_chunks, in sctp_auth_make_local_vector()
229 (struct sctp_hmac_algo_param *)asoc->c.auth_hmacs, gfp); in sctp_auth_make_local_vector()
234 const struct sctp_association *asoc, in sctp_auth_make_peer_vector()
237 return sctp_auth_make_key_vector(asoc->peer.peer_random, in sctp_auth_make_peer_vector()
238 asoc->peer.peer_chunks, in sctp_auth_make_peer_vector()
239 asoc->peer.peer_hmacs, in sctp_auth_make_peer_vector()
288 const struct sctp_association *asoc, in sctp_auth_asoc_create_secret()
312 local_key_vector = sctp_auth_make_local_vector(asoc, gf in sctp_auth_asoc_create_secret()
222 sctp_auth_make_local_vector(const struct sctp_association * asoc,gfp_t gfp) sctp_auth_make_local_vector() argument
233 sctp_auth_make_peer_vector(const struct sctp_association * asoc,gfp_t gfp) sctp_auth_make_peer_vector() argument
287 sctp_auth_asoc_create_secret(const struct sctp_association * asoc,struct sctp_shared_key * ep_key,gfp_t gfp) sctp_auth_asoc_create_secret() argument
354 sctp_auth_asoc_copy_shkeys(const struct sctp_endpoint * ep,struct sctp_association * asoc,gfp_t gfp) sctp_auth_asoc_copy_shkeys() argument
383 sctp_auth_asoc_init_active_key(struct sctp_association * asoc,gfp_t gfp) sctp_auth_asoc_init_active_key() argument
430 sctp_auth_get_shkey(const struct sctp_association * asoc,__u16 key_id) sctp_auth_get_shkey() argument
524 sctp_auth_asoc_get_hmac(const struct sctp_association * asoc) sctp_auth_asoc_get_hmac() argument
584 sctp_auth_asoc_verify_hmac_id(const struct sctp_association * asoc,__be16 hmac_id) sctp_auth_asoc_verify_hmac_id() argument
606 sctp_auth_asoc_set_default_hmac(struct sctp_association * asoc,struct sctp_hmac_algo_param * hmacs) sctp_auth_asoc_set_default_hmac() argument
674 sctp_auth_send_cid(enum sctp_cid chunk,const struct sctp_association * asoc) sctp_auth_send_cid() argument
686 sctp_auth_recv_cid(enum sctp_cid chunk,const struct sctp_association * asoc) sctp_auth_recv_cid() argument
707 sctp_auth_calculate_hmac(const struct sctp_association * asoc,struct sk_buff * skb,struct sctp_auth_chunk * auth,struct sctp_shared_key * ep_key,gfp_t gfp) sctp_auth_calculate_hmac() argument
818 sctp_auth_set_key(struct sctp_endpoint * ep,struct sctp_association * asoc,struct sctp_authkey * auth_key) sctp_auth_set_key() argument
881 sctp_auth_set_active_key(struct sctp_endpoint * ep,struct sctp_association * asoc,__u16 key_id) sctp_auth_set_active_key() argument
924 sctp_auth_del_key_id(struct sctp_endpoint * ep,struct sctp_association * asoc,__u16 key_id) sctp_auth_del_key_id() argument
968 sctp_auth_deact_key_id(struct sctp_endpoint * ep,struct sctp_association * asoc,__u16 key_id) sctp_auth_deact_key_id() argument
[all...]
H A Dchunk.c74 struct sctp_association *asoc = NULL; in sctp_datamsg_destroy() local
90 asoc = chunk->asoc; in sctp_datamsg_destroy()
91 error = msg->send_error ?: asoc->outqueue.error; in sctp_datamsg_destroy()
94 if (sctp_ulpevent_type_enabled(asoc->subscribe, in sctp_datamsg_destroy()
96 ev = sctp_ulpevent_make_send_failed(asoc, chunk, sent, in sctp_datamsg_destroy()
99 asoc->stream.si->enqueue_event(&asoc->ulpq, ev); in sctp_datamsg_destroy()
102 if (sctp_ulpevent_type_enabled(asoc->subscribe, in sctp_datamsg_destroy()
104 ev = sctp_ulpevent_make_send_failed_event(asoc, chun in sctp_datamsg_destroy()
146 sctp_datamsg_from_user(struct sctp_association * asoc,struct sctp_sndrcvinfo * sinfo,struct iov_iter * from) sctp_datamsg_from_user() argument
[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() local
87 ev = sctp_ulpevent_make_authkey(asoc, shkey->key_id, in sctp_control_release_owner()
91 asoc->stream.si->enqueue_event(&asoc in sctp_control_release_owner()
99 struct sctp_association *asoc = chunk->asoc; sctp_control_set_owner_w() local
206 sctp_make_init(const struct sctp_association * asoc,const struct sctp_bind_addr * bp,gfp_t gfp,int vparam_len) sctp_make_init() argument
379 sctp_make_init_ack(const struct sctp_association * asoc,const struct sctp_chunk * chunk,gfp_t gfp,int unkparam_len) sctp_make_init_ack() argument
567 sctp_make_cookie_echo(const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_make_cookie_echo() argument
619 sctp_make_cookie_ack(const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_make_cookie_ack() argument
666 sctp_make_cwr(const struct sctp_association * asoc,const __u32 lowest_tsn,const struct sctp_chunk * chunk) sctp_make_cwr() argument
701 sctp_make_ecne(const struct sctp_association * asoc,const __u32 lowest_tsn) sctp_make_ecne() argument
722 sctp_make_datafrag_empty(const struct sctp_association * asoc,const struct sctp_sndrcvinfo * sinfo,int len,__u8 flags,gfp_t gfp) sctp_make_datafrag_empty() argument
754 sctp_make_sack(struct sctp_association * asoc) sctp_make_sack() argument
854 sctp_make_shutdown(const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_make_shutdown() argument
878 sctp_make_shutdown_ack(const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_make_shutdown_ack() argument
902 sctp_make_shutdown_complete(const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_make_shutdown_complete() argument
935 sctp_make_abort(const struct sctp_association * asoc,const struct sctp_chunk * chunk,const size_t hint) sctp_make_abort() argument
973 sctp_make_abort_no_data(const struct sctp_association * asoc,const struct sctp_chunk * chunk,__u32 tsn) sctp_make_abort_no_data() argument
1008 sctp_make_abort_user(const struct sctp_association * asoc,struct msghdr * msg,size_t paylen) sctp_make_abort_user() argument
1074 sctp_make_abort_violation(const struct sctp_association * asoc,const struct sctp_chunk * chunk,const __u8 * payload,const size_t paylen) sctp_make_abort_violation() argument
1100 sctp_make_violation_paramlen(const struct sctp_association * asoc,const struct sctp_chunk * chunk,struct sctp_paramhdr * param) sctp_make_violation_paramlen() argument
1123 sctp_make_violation_max_retrans(const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_make_violation_max_retrans() argument
1141 sctp_make_new_encap_port(const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_make_new_encap_port() argument
1162 sctp_make_heartbeat(const struct sctp_association * asoc,const struct sctp_transport * transport,__u32 probe_size) sctp_make_heartbeat() argument
1194 sctp_make_heartbeat_ack(const struct sctp_association * asoc,const struct sctp_chunk * chunk,const void * payload,const size_t paylen) sctp_make_heartbeat_ack() argument
1235 sctp_make_pad(const struct sctp_association * asoc,int len) sctp_make_pad() argument
1254 sctp_make_op_error_space(const struct sctp_association * asoc,const struct sctp_chunk * chunk,size_t size) sctp_make_op_error_space() argument
1289 sctp_make_op_error_limited(const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_make_op_error_limited() argument
1306 sctp_make_op_error(const struct sctp_association * asoc,const struct sctp_chunk * chunk,__be16 cause_code,const void * payload,size_t paylen,size_t reserve_tail) sctp_make_op_error() argument
1326 sctp_make_auth(const struct sctp_association * asoc,__u16 key_id) sctp_make_auth() argument
1376 sctp_chunkify(struct sk_buff * skb,const struct sctp_association * asoc,struct sock * sk,gfp_t gfp) sctp_chunkify() argument
1428 _sctp_make_chunk(const struct sctp_association * asoc,__u8 type,__u8 flags,int paylen,gfp_t gfp) _sctp_make_chunk() argument
1472 sctp_make_data(const struct sctp_association * asoc,__u8 flags,int paylen,gfp_t gfp) sctp_make_data() argument
1478 sctp_make_idata(const struct sctp_association * asoc,__u8 flags,int paylen,gfp_t gfp) sctp_make_idata() argument
1484 sctp_make_control(const struct sctp_association * asoc,__u8 type,__u8 flags,int paylen,gfp_t gfp) sctp_make_control() argument
1632 struct sctp_association *asoc; sctp_make_temp_asoc() local
1655 sctp_pack_cookie(const struct sctp_endpoint * ep,const struct sctp_association * asoc,const struct sctp_chunk * init_chunk,int * cookie_len,const __u8 * raw_addrs,int addrs_len) sctp_pack_cookie() argument
1742 sctp_unpack_cookie(const struct sctp_endpoint * ep,const struct sctp_association * asoc,struct sctp_chunk * chunk,gfp_t gfp,int * error,struct sctp_chunk ** errp) sctp_unpack_cookie() argument
1923 sctp_process_missing_param(const struct sctp_association * asoc,enum sctp_param paramtype,struct sctp_chunk * chunk,struct sctp_chunk ** errp) sctp_process_missing_param() argument
1952 sctp_process_inv_mandatory(const struct sctp_association * asoc,struct sctp_chunk * chunk,struct sctp_chunk ** errp) sctp_process_inv_mandatory() argument
1968 sctp_process_inv_paramlength(const struct sctp_association * asoc,struct sctp_paramhdr * param,const struct sctp_chunk * chunk,struct sctp_chunk ** errp) sctp_process_inv_paramlength() argument
1989 sctp_process_hn_param(const struct sctp_association * asoc,union sctp_params param,struct sctp_chunk * chunk,struct sctp_chunk ** errp) sctp_process_hn_param() argument
2046 sctp_process_ext_param(struct sctp_association * asoc,union sctp_params param) sctp_process_ext_param() argument
2110 sctp_process_unk_param(const struct sctp_association * asoc,union sctp_params param,struct sctp_chunk * chunk,struct sctp_chunk ** errp) sctp_process_unk_param() argument
2164 sctp_verify_param(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,union sctp_params param,enum sctp_cid cid,struct sctp_chunk * chunk,struct sctp_chunk ** err_chunk) sctp_verify_param() argument
2291 sctp_verify_init(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,enum sctp_cid cid,struct sctp_init_chunk * peer_init,struct sctp_chunk * chunk,struct sctp_chunk ** errp) sctp_verify_init() argument
2355 sctp_process_init(struct sctp_association * asoc,struct sctp_chunk * chunk,const union sctp_addr * peer_addr,struct sctp_init_chunk * peer_init,gfp_t gfp) sctp_process_init() argument
2540 sctp_process_param(struct sctp_association * asoc,union sctp_params param,const union sctp_addr * peer_addr,gfp_t gfp) sctp_process_param() argument
2797 sctp_make_asconf(struct sctp_association * asoc,union sctp_addr * addr,int vparam_len) sctp_make_asconf() argument
2853 sctp_make_asconf_update_ip(struct sctp_association * asoc,union sctp_addr * laddr,struct sockaddr * addrs,int addrcnt,__be16 flags) sctp_make_asconf_update_ip() argument
2940 sctp_make_asconf_set_prim(struct sctp_association * asoc,union sctp_addr * addr) sctp_make_asconf_set_prim() argument
2989 sctp_make_asconf_ack(const struct sctp_association * asoc,__u32 serial,int vparam_len) sctp_make_asconf_ack() argument
3053 sctp_process_asconf_param(struct sctp_association * asoc,struct sctp_chunk * asconf,struct sctp_addip_param * asconf_param) sctp_process_asconf_param() argument
3196 sctp_verify_asconf(const struct sctp_association * asoc,struct sctp_chunk * chunk,bool addr_param_needed,struct sctp_paramhdr ** errp) sctp_verify_asconf() argument
3265 sctp_process_asconf(struct sctp_association * asoc,struct sctp_chunk * asconf) sctp_process_asconf() argument
3350 sctp_asconf_param_success(struct sctp_association * asoc,struct sctp_addip_param * asconf_param) sctp_asconf_param_success() argument
3465 sctp_process_asconf_ack(struct sctp_association * asoc,struct sctp_chunk * asconf_ack) sctp_process_asconf_ack() argument
3558 sctp_make_fwdtsn(const struct sctp_association * asoc,__u32 new_cum_tsn,size_t nstreams,struct sctp_fwdtsn_skip * skiplist) sctp_make_fwdtsn() argument
3588 sctp_make_ifwdtsn(const struct sctp_association * asoc,__u32 new_cum_tsn,size_t nstreams,struct sctp_ifwdtsn_skip * skiplist) sctp_make_ifwdtsn() argument
3627 sctp_make_reconf(const struct sctp_association * asoc,int length) sctp_make_reconf() argument
3679 sctp_make_strreset_req(const struct sctp_association * asoc,__u16 stream_num,__be16 * stream_list,bool out,bool in) sctp_make_strreset_req() argument
3733 sctp_make_strreset_tsnreq(const struct sctp_association * asoc) sctp_make_strreset_tsnreq() argument
3764 sctp_make_strreset_addstrm(const struct sctp_association * asoc,__u16 out,__u16 in) sctp_make_strreset_addstrm() argument
3809 sctp_make_strreset_resp(const struct sctp_association * asoc,__u32 result,__u32 sn) sctp_make_strreset_resp() argument
3845 sctp_make_strreset_tsnresp(struct sctp_association * asoc,__u32 result,__u32 sn,__u32 sender_tsn,__u32 receiver_tsn) sctp_make_strreset_tsnresp() argument
3871 sctp_verify_reconf(const struct sctp_association * asoc,struct sctp_chunk * chunk,struct sctp_paramhdr ** errp) sctp_verify_reconf() argument
[all...]
H A Dulpevent.c32 struct sctp_association *asoc);
77 const struct sctp_association *asoc) in sctp_ulpevent_set_owner() argument
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()
88 atomic_add(event->rmem_len, &event->asoc->rmem_alloc); in sctp_ulpevent_set_owner()
89 sctp_skb_set_owner_r(skb, asoc->base.sk); in sctp_ulpevent_set_owner()
91 chunk->head_skb->sk = asoc->base.sk; in sctp_ulpevent_set_owner()
97 struct sctp_association *asoc = event->asoc; in sctp_ulpevent_release_owner() local
99 atomic_sub(event->rmem_len, &asoc->rmem_alloc); in sctp_ulpevent_release_owner()
100 sctp_association_put(asoc); in sctp_ulpevent_release_owner()
[all …]
H A Doutqueue.c69 oute = SCTP_SO(&q->asoc->stream, stream)->ext; in sctp_outq_head_data()
90 oute = SCTP_SO(&q->asoc->stream, stream)->ext; in sctp_outq_tail_data()
191 void sctp_outq_init(struct sctp_association *asoc, struct sctp_outq *q) in sctp_outq_init() argument
195 q->asoc = asoc; in sctp_outq_init()
201 sctp_sched_set_sched(asoc, sctp_sk(asoc->base.sk)->default_ss); in sctp_outq_init()
213 list_for_each_entry(transport, &q->asoc->peer.transport_addr_list, in __sctp_outq_teardown()
270 sctp_outq_init(q->asoc, q); in sctp_outq_teardown()
283 struct net *net = q->asoc->base.net; in sctp_outq_tail()
300 if (chunk->asoc->peer.prsctp_capable && in sctp_outq_tail()
302 chunk->asoc->sent_cnt_removable++; in sctp_outq_tail()
[all …]
H A Ddiag.c25 /* define some functions to make asoc/ep fill look clean */
28 struct sctp_association *asoc) in inet_diag_msg_sctpasoc_fill() argument
32 struct timer_list *t3_rtx = &asoc->peer.primary_path->T3_rtx_timer; in inet_diag_msg_sctpasoc_fill()
34 laddr = list_entry(asoc->base.bind_addr.address_list.next, in inet_diag_msg_sctpasoc_fill()
36 paddr = asoc->peer.primary_path->ipaddr; in inet_diag_msg_sctpasoc_fill()
37 dst = asoc->peer.primary_path->dst; in inet_diag_msg_sctpasoc_fill()
40 r->id.idiag_sport = htons(asoc->base.bind_addr.port); in inet_diag_msg_sctpasoc_fill()
41 r->id.idiag_dport = htons(asoc->peer.port); in inet_diag_msg_sctpasoc_fill()
59 r->idiag_state = asoc->state; in inet_diag_msg_sctpasoc_fill()
62 r->idiag_retrans = asoc in inet_diag_msg_sctpasoc_fill()
94 inet_diag_msg_sctpaddrs_fill(struct sk_buff * skb,struct sctp_association * asoc) inet_diag_msg_sctpaddrs_fill() argument
119 inet_sctp_diag_fill(struct sock * sk,struct sctp_association * asoc,struct sk_buff * skb,const struct inet_diag_req_v2 * req,struct user_namespace * user_ns,int portid,u32 seq,u16 nlmsg_flags,const struct nlmsghdr * unlh,bool net_admin) inet_sctp_diag_fill() argument
226 inet_assoc_attr_size(struct sctp_association * asoc) inet_assoc_attr_size() argument
[all...]
H A Doutput.c77 struct sctp_association *asoc = tp->asoc; in sctp_packet_config() local
91 if (asoc) { in sctp_packet_config()
92 sk = asoc->base.sk; in sctp_packet_config()
98 if (!asoc) in sctp_packet_config()
104 if (asoc->param_flags & SPP_PMTUD_ENABLE) in sctp_packet_config()
105 sctp_assoc_sync_pmtu(asoc); in sctp_packet_config()
107 asoc->param_flags & SPP_PMTUD_ENABLE) { in sctp_packet_config()
109 sctp_assoc_sync_pmtu(asoc); in sctp_packet_config()
112 if (asoc->pmtu_pending) { in sctp_packet_config()
113 if (asoc->param_flags & SPP_PMTUD_ENABLE) in sctp_packet_config()
[all …]
H A Dtransport.c170 if (transport->asoc) in sctp_transport_destroy()
171 sctp_association_put(transport->asoc); in sctp_transport_destroy()
233 struct sctp_association *asoc) in sctp_transport_set_owner() argument
235 transport->asoc = asoc; in sctp_transport_set_owner()
236 sctp_association_hold(asoc); in sctp_transport_set_owner()
250 struct sctp_association *asoc = transport->asoc; in sctp_transport_pmtu() local
252 if (!transport->pathmtu && asoc && asoc->pathmtu) in sctp_transport_pmtu()
253 transport->pathmtu = asoc->pathmtu; in sctp_transport_pmtu()
278 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_send()
288 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_send()
[all …]
H A Dinput.c91 struct sctp_association *asoc; in sctp_rcv() local
165 asoc = __sctp_rcv_lookup(net, skb, &src, &dest, &transport, dif, sdif); in sctp_rcv()
167 if (!asoc) in sctp_rcv()
171 rcvr = asoc ? &asoc->base : &ep->base; in sctp_rcv()
182 if (!asoc) { in sctp_rcv()
197 chunk = sctp_chunkify(skb, asoc, sk, GFP_ATOMIC); in sctp_rcv()
248 /* Release the asoc/ep ref we took in the lookup calls. */ in sctp_rcv()
262 /* Release the asoc/ep ref we took in the lookup calls. */ in sctp_rcv()
372 void sctp_icmp_frag_needed(struct sock *sk, struct sctp_association *asoc, in sctp_icmp_frag_needed() argument
382 asoc->pmtu_pending = 1; in sctp_icmp_frag_needed()
[all …]
H A Dstream_interleave.c25 const struct sctp_association *asoc, in sctp_make_idatafrag_empty() argument
38 retval = sctp_make_idata(asoc, flags, sizeof(dp) + len, gfp); in sctp_make_idatafrag_empty()
59 stream = &chunk->asoc->stream; in sctp_chunk_assign_mid()
98 stream = &chunk->asoc->stream; in sctp_validate_data()
117 stream = &chunk->asoc->stream; in sctp_validate_idata()
192 sin = sctp_stream_in(&ulpq->asoc->stream, event->stream); in sctp_intl_retrieve_partial()
244 retval = sctp_make_reassembled_event(ulpq->asoc->base.net, &ulpq->reasm, in sctp_intl_retrieve_partial()
261 struct sctp_association *asoc = ulpq->asoc; in sctp_intl_retrieve_reassembled() local
272 sin = sctp_stream_in(&ulpq->asoc->stream, event->stream); in sctp_intl_retrieve_reassembled()
326 pd_point = sctp_sk(asoc->base.sk)->pd_point; in sctp_intl_retrieve_reassembled()
[all …]
H A Dendpointola.c156 struct sctp_association *asoc) in sctp_endpoint_add_asoc()
164 if (asoc->temp) in sctp_endpoint_add_asoc()
168 list_add_tail(&asoc->asocs, &ep->asocs); in sctp_endpoint_add_asoc()
276 struct sctp_association *asoc = NULL; in sctp_endpoint_lookup_assoc()
293 asoc = t->asoc; in sctp_endpoint_lookup_assoc()
296 return asoc; in sctp_endpoint_lookup_assoc()
331 struct sctp_association *asoc; in sctp_endpoint_bh_rcv()
345 asoc = NULL; in sctp_endpoint_bh_rcv()
382 if (NULL == chunk->asoc) { in sctp_endpoint_bh_rcv()
152 sctp_endpoint_add_asoc(struct sctp_endpoint * ep,struct sctp_association * asoc) sctp_endpoint_add_asoc() argument
275 struct sctp_association *asoc = NULL; sctp_endpoint_lookup_assoc() local
330 struct sctp_association *asoc; sctp_endpoint_bh_rcv() local
[all...]
/linux/sound/soc/mediatek/
H A DKconfig9 tristate "ASoC support for Mediatek MT2701 chip"
13 This adds ASoC driver for Mediatek MT2701 boards
19 tristate "ASoc Audio driver for MT2701 with CS42448 codec"
24 This adds ASoC driver for Mediatek MT2701 boards
30 tristate "ASoc Audio driver for MT2701 with WM8960 codec"
34 This adds ASoC driver for Mediatek MT2701 boards
40 tristate "ASoC support for Mediatek MT6797 chip"
44 This adds ASoC driver for Mediatek MT6797 boards
50 tristate "ASoc Audio driver for MT6797 with MT6351 codec"
54 This adds ASoC driver for Mediatek MT6797 boards
[all …]
/linux/include/net/sctp/
H A Dsm.h56 const struct sctp_association *asoc,
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 *asoc,
190 struct sctp_chunk *sctp_make_ecne(const struct sctp_association *asoc,
376 sctp_vtag_verify(const struct sctp_chunk * chunk,const struct sctp_association * asoc) sctp_vtag_verify() argument
396 sctp_vtag_verify_either(const struct sctp_chunk * chunk,const struct sctp_association * asoc) sctp_vtag_verify_either() argument
[all...]
H A Dauth.h68 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp); in sctp_auth_key_hold()
70 const struct sctp_association *asoc,
73 struct sctp_association *asoc,
78 sctp_auth_asoc_get_hmac(const struct sctp_association *asoc);
79 void sctp_auth_asoc_set_default_hmac(struct sctp_association *asoc,
81 int sctp_auth_asoc_verify_hmac_id(const struct sctp_association *asoc,
84 const struct sctp_association *asoc);
86 const struct sctp_association *asoc);
87 void sctp_auth_calculate_hmac(const struct sctp_association *asoc,
97 int sctp_auth_set_key(struct sctp_endpoint *ep, struct sctp_association *asoc,
[all...]
H A Dulpevent.h39 struct sctp_association *asoc; member
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 …]
/linux/include/trace/events/
H A Dsctp.h14 const struct sctp_association *asoc),
16 TP_ARGS(sp, asoc),
19 __field(__u64, asoc)
31 __entry->asoc = (unsigned long)asoc;
32 __entry->primary = (sp == asoc->peer.primary_path);
42 TP_printk("asoc=%#llx%s ipaddr=%pISpc state=%u cwnd=%u ssthresh=%u "
44 __entry->asoc, __entry->primary ? "(*)" : "",
53 const struct sctp_association *asoc,
56 TP_ARGS(ep, asoc, chunk),
59 __field(__u64, asoc)
[all …]
/linux/sound/soc/atmel/
H A DKconfig46 tristate "Atmel ASoC driver for boards using WM8904 codec"
52 Say Y if you want to add support for Atmel ASoC driver for boards using
66 tristate "Atmel ASoC driver for boards using CLASSD"
71 Say Y if you want to add support for Atmel ASoC driver for boards using
75 tristate "Atmel ASoC driver for boards using PDMIC"
80 Say Y if you want to add support for Atmel ASoC driver for boards using
84 tristate "ASoC driver for the Axentia TSE-850"
90 Say Y if you want to add support for the ASoC driver for the
94 tristate "Atmel ASoC driver for boards using I2S"
99 Say Y or M if you want to add support for Atmel ASoc driver for boards
[all …]
/linux/sound/soc/intel/boards/
H A DKconfig6 Intel ASoC Machine Drivers. If you have a Intel machine that
12 the questions about Intel ASoC machine drivers.
73 This adds the ASoC machine driver for Intel Broadwell platforms with
117 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
130 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
143 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
156 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
168 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
181 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
193 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
[all …]
/linux/sound/soc/
H A Dsoc-jack.c17 #include <trace/events/asoc.h>
82 * @jack: ASoC jack
106 * @jack: ASoC jack
126 * snd_soc_jack_add_pins - Associate DAPM pins with an ASoC jack
128 * @jack: ASoC jack created with snd_soc_card_jack_new_pins()
143 dev_err(jack->card->dev, "ASoC: No name for pin %d\n", in snd_soc_jack_add_pins()
148 dev_err(jack->card->dev, "ASoC: No mask for pin %d" in snd_soc_jack_add_pins()
171 * @jack: ASoC jack
190 * @jack: ASoC jack
301 * snd_soc_jack_add_gpios - Associate GPIO pins with an ASoC jack
[all …]

12345678910>>...20