Lines Matching refs:sctp_association
73 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p,
76 static int sctp_wait_for_connect(struct sctp_association *, long *timeo_p);
86 static int sctp_send_asconf(struct sctp_association *asoc,
91 struct sctp_association *assoc,
105 static inline int sctp_wspace(struct sctp_association *asoc) in sctp_wspace()
124 struct sctp_association *asoc = chunk->asoc; in sctp_set_owner_w()
163 static void sctp_for_each_tx_datachunk(struct sctp_association *asoc, in sctp_for_each_tx_datachunk()
190 static void sctp_for_each_rx_skb(struct sctp_association *asoc, struct sock *sk, in sctp_for_each_rx_skb()
230 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id) in sctp_id2assoc()
232 struct sctp_association *asoc = NULL; in sctp_id2assoc()
246 struct sctp_association, asocs); in sctp_id2assoc()
255 asoc = (struct sctp_association *)idr_find(&sctp_assocs_id, (int)id); in sctp_id2assoc()
271 struct sctp_association *addr_asoc = NULL, *id_asoc = NULL; in sctp_addr_id2transport()
465 static int sctp_send_asconf(struct sctp_association *asoc, in sctp_send_asconf()
558 struct sctp_association *asoc; in sctp_send_asconf_add_ip()
760 struct sctp_association *asoc; in sctp_send_asconf_del_ip()
1069 struct sctp_association *asoc; in sctp_connect_new_asoc()
1131 static int sctp_connect_add_peer(struct sctp_association *asoc, in sctp_connect_add_peer()
1135 struct sctp_association *old; in sctp_connect_add_peer()
1169 struct sctp_association *asoc; in __sctp_connect()
1484 struct sctp_association *asoc; in sctp_close()
1502 asoc = list_entry(pos, struct sctp_association, asocs); in sctp_close()
1660 struct sctp_association *asoc; in sctp_sendmsg_new_asoc()
1749 static int sctp_sendmsg_check_sflags(struct sctp_association *asoc, in sctp_sendmsg_check_sflags()
1787 static int sctp_sendmsg_to_asoc(struct sctp_association *asoc, in sctp_sendmsg_to_asoc()
1913 static void sctp_sendmsg_update_sinfo(struct sctp_association *asoc, in sctp_sendmsg_update_sinfo()
1944 struct sctp_association *asoc, *tmp; in sctp_sendmsg()
2214 struct sctp_association *asoc; in sctp_setsockopt_events()
2418 struct sctp_association *asoc, in sctp_apply_peer_addr_params()
2611 struct sctp_association *asoc = NULL; in sctp_setsockopt_peer_addr_params()
2696 struct sctp_association *asoc) in sctp_apply_asoc_delayed_ack()
2771 struct sctp_association *asoc; in __sctp_setsockopt_delayed_ack()
2897 struct sctp_association *asoc; in sctp_setsockopt_default_send_param()
2955 struct sctp_association *asoc; in sctp_setsockopt_default_sndinfo()
3071 struct sctp_association *asoc; in sctp_setsockopt_rtoinfo()
3136 struct sctp_association *asoc; in sctp_setsockopt_associnfo()
3246 struct sctp_association *asoc; in sctp_setsockopt_maxseg()
3306 struct sctp_association *asoc = NULL; in sctp_setsockopt_peer_primary_addr()
3393 struct sctp_association *asoc; in sctp_setsockopt_context()
3512 struct sctp_association *asoc; in sctp_setsockopt_maxburst()
3624 struct sctp_association *asoc; in sctp_setsockopt_auth_key()
3685 struct sctp_association *asoc; in sctp_setsockopt_active_key()
3733 struct sctp_association *asoc; in sctp_setsockopt_del_key()
3781 struct sctp_association *asoc; in sctp_setsockopt_deactivate_key()
3870 struct sctp_association *asoc; in sctp_setsockopt_paddr_thresholds()
3954 struct sctp_association *asoc; in sctp_setsockopt_pr_supported()
3974 struct sctp_association *asoc; in sctp_setsockopt_default_prinfo()
4025 struct sctp_association *asoc; in sctp_setsockopt_reconfig_supported()
4049 struct sctp_association *asoc; in sctp_setsockopt_enable_strreset()
4090 struct sctp_association *asoc; in sctp_setsockopt_reset_streams()
4112 struct sctp_association *asoc; in sctp_setsockopt_reset_assoc()
4128 struct sctp_association *asoc; in sctp_setsockopt_add_streams()
4145 struct sctp_association *asoc; in sctp_setsockopt_scheduler()
4187 struct sctp_association *asoc; in sctp_setsockopt_scheduler_value()
4223 struct sctp_association *asoc; in sctp_setsockopt_interleaving_supported()
4258 struct sctp_association *asoc) in sctp_assoc_ulpevent_type_set()
4282 struct sctp_association *asoc; in sctp_setsockopt_event()
4325 struct sctp_association *asoc; in sctp_setsockopt_asconf_supported()
4355 struct sctp_association *asoc; in sctp_setsockopt_auth_supported()
4389 struct sctp_association *asoc; in sctp_setsockopt_ecn_supported()
4411 struct sctp_association *asoc; in sctp_setsockopt_pf_expose()
4439 struct sctp_association *asoc; in sctp_setsockopt_encap_port()
4489 struct sctp_association *asoc; in sctp_setsockopt_probe_interval()
4844 struct sctp_association *asoc; in sctp_accept()
4872 asoc = list_entry(ep->asocs.next, struct sctp_association, asocs); in sctp_accept()
5145 struct sctp_association *asoc; in sctp_shutdown()
5149 struct sctp_association, asocs); in sctp_shutdown()
5154 int sctp_get_sctp_info(struct sock *sk, struct sctp_association *asoc, in sctp_get_sctp_info()
5402 struct sctp_association *asoc = NULL; in sctp_getsockopt_sctp_status()
5615 struct sctp_association *asoc = sctp_id2assoc(sk, id); in sctp_do_peeloff()
5904 struct sctp_association *asoc = NULL; in sctp_getsockopt_peer_addr_params()
6047 struct sctp_association *asoc = NULL; in sctp_getsockopt_delayed_ack()
6132 struct sctp_association *asoc; in sctp_getsockopt_peer_addrs()
6229 struct sctp_association *asoc; in sctp_getsockopt_local_addrs()
6337 struct sctp_association *asoc; in sctp_getsockopt_primary_addr()
6419 struct sctp_association *asoc; in sctp_getsockopt_default_send_param()
6465 struct sctp_association *asoc; in sctp_getsockopt_default_sndinfo()
6544 struct sctp_association *asoc; in sctp_getsockopt_rtoinfo()
6600 struct sctp_association *asoc; in sctp_getsockopt_associnfo()
6690 struct sctp_association *asoc; in sctp_getsockopt_context()
6747 struct sctp_association *asoc; in sctp_getsockopt_maxseg()
6842 struct sctp_association *asoc; in sctp_getsockopt_maxburst()
6918 struct sctp_association *asoc; in sctp_getsockopt_active_key()
6954 struct sctp_association *asoc; in sctp_getsockopt_peer_auth_chunks()
6999 struct sctp_association *asoc; in sctp_getsockopt_local_auth_chunks()
7053 struct sctp_association *asoc; in sctp_getsockopt_assoc_number()
7109 struct sctp_association *asoc; in sctp_getsockopt_assoc_ids()
7160 struct sctp_association *asoc; in sctp_getsockopt_paddr_thresholds()
7218 struct sctp_association *asoc = NULL; in sctp_getsockopt_assoc_stats()
7316 struct sctp_association *asoc; in sctp_getsockopt_pr_supported()
7355 struct sctp_association *asoc; in sctp_getsockopt_default_prinfo()
7401 struct sctp_association *asoc; in sctp_getsockopt_pr_assocstatus()
7460 struct sctp_association *asoc; in sctp_getsockopt_pr_streamstatus()
7524 struct sctp_association *asoc; in sctp_getsockopt_reconfig_supported()
7563 struct sctp_association *asoc; in sctp_getsockopt_enable_strreset()
7602 struct sctp_association *asoc; in sctp_getsockopt_scheduler()
7641 struct sctp_association *asoc; in sctp_getsockopt_scheduler_value()
7683 struct sctp_association *asoc; in sctp_getsockopt_interleaving_supported()
7740 struct sctp_association *asoc; in sctp_getsockopt_event()
7777 struct sctp_association *asoc; in sctp_getsockopt_asconf_supported()
7816 struct sctp_association *asoc; in sctp_getsockopt_auth_supported()
7855 struct sctp_association *asoc; in sctp_getsockopt_ecn_supported()
7894 struct sctp_association *asoc; in sctp_getsockopt_pf_expose()
7931 struct sctp_association *asoc; in sctp_getsockopt_encap_port()
7992 struct sctp_association *asoc; in sctp_getsockopt_probe_interval()
9046 static void __sctp_write_space(struct sctp_association *asoc) in __sctp_write_space()
9077 struct sctp_association *asoc) in sctp_wake_up_waiters()
9079 struct sctp_association *tmp = asoc; in sctp_wake_up_waiters()
9123 struct sctp_association *asoc = chunk->asoc; in sctp_wfree()
9178 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p, in sctp_wait_for_sndbuf()
9263 struct sctp_association *asoc; in sctp_write_space()
9290 static int sctp_wait_for_connect(struct sctp_association *asoc, long *timeo_p) in sctp_wait_for_connect()
9425 struct sctp_association *asoc) in sctp_copy_sock()
9493 struct sctp_association *assoc, in sctp_sock_migrate()