Lines Matching refs:sctp_association
74 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p,
77 static int sctp_wait_for_connect(struct sctp_association *, long *timeo_p);
87 static int sctp_send_asconf(struct sctp_association *asoc,
92 struct sctp_association *assoc,
107 static inline int sctp_wspace(struct sctp_association *asoc) in sctp_wspace()
126 struct sctp_association *asoc = chunk->asoc; in sctp_set_owner_w()
165 static void sctp_for_each_tx_datachunk(struct sctp_association *asoc, in sctp_for_each_tx_datachunk()
192 static void sctp_for_each_rx_skb(struct sctp_association *asoc, struct sock *sk, in sctp_for_each_rx_skb()
232 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id) in sctp_id2assoc()
234 struct sctp_association *asoc = NULL; in sctp_id2assoc()
248 struct sctp_association, asocs); in sctp_id2assoc()
257 asoc = (struct sctp_association *)idr_find(&sctp_assocs_id, (int)id); in sctp_id2assoc()
273 struct sctp_association *addr_asoc = NULL, *id_asoc = NULL; in sctp_addr_id2transport()
467 static int sctp_send_asconf(struct sctp_association *asoc, in sctp_send_asconf()
560 struct sctp_association *asoc; in sctp_send_asconf_add_ip()
762 struct sctp_association *asoc; in sctp_send_asconf_del_ip()
1071 struct sctp_association *asoc; in sctp_connect_new_asoc()
1133 static int sctp_connect_add_peer(struct sctp_association *asoc, in sctp_connect_add_peer()
1137 struct sctp_association *old; in sctp_connect_add_peer()
1171 struct sctp_association *asoc; in __sctp_connect()
1486 struct sctp_association *asoc; in sctp_close()
1504 asoc = list_entry(pos, struct sctp_association, asocs); in sctp_close()
1662 struct sctp_association *asoc; in sctp_sendmsg_new_asoc()
1751 static int sctp_sendmsg_check_sflags(struct sctp_association *asoc, in sctp_sendmsg_check_sflags()
1789 static int sctp_sendmsg_to_asoc(struct sctp_association *asoc, in sctp_sendmsg_to_asoc()
1912 static void sctp_sendmsg_update_sinfo(struct sctp_association *asoc, in sctp_sendmsg_update_sinfo()
1943 struct sctp_association *asoc, *tmp; in sctp_sendmsg()
2212 struct sctp_association *asoc; in sctp_setsockopt_events()
2416 struct sctp_association *asoc, in sctp_apply_peer_addr_params()
2609 struct sctp_association *asoc = NULL; in sctp_setsockopt_peer_addr_params()
2694 struct sctp_association *asoc) in sctp_apply_asoc_delayed_ack()
2769 struct sctp_association *asoc; in __sctp_setsockopt_delayed_ack()
2895 struct sctp_association *asoc; in sctp_setsockopt_default_send_param()
2953 struct sctp_association *asoc; in sctp_setsockopt_default_sndinfo()
3069 struct sctp_association *asoc; in sctp_setsockopt_rtoinfo()
3134 struct sctp_association *asoc; in sctp_setsockopt_associnfo()
3244 struct sctp_association *asoc; in sctp_setsockopt_maxseg()
3304 struct sctp_association *asoc = NULL; in sctp_setsockopt_peer_primary_addr()
3391 struct sctp_association *asoc; in sctp_setsockopt_context()
3510 struct sctp_association *asoc; in sctp_setsockopt_maxburst()
3622 struct sctp_association *asoc; in sctp_setsockopt_auth_key()
3683 struct sctp_association *asoc; in sctp_setsockopt_active_key()
3731 struct sctp_association *asoc; in sctp_setsockopt_del_key()
3779 struct sctp_association *asoc; in sctp_setsockopt_deactivate_key()
3868 struct sctp_association *asoc; in sctp_setsockopt_paddr_thresholds()
3952 struct sctp_association *asoc; in sctp_setsockopt_pr_supported()
3972 struct sctp_association *asoc; in sctp_setsockopt_default_prinfo()
4023 struct sctp_association *asoc; in sctp_setsockopt_reconfig_supported()
4047 struct sctp_association *asoc; in sctp_setsockopt_enable_strreset()
4088 struct sctp_association *asoc; in sctp_setsockopt_reset_streams()
4110 struct sctp_association *asoc; in sctp_setsockopt_reset_assoc()
4126 struct sctp_association *asoc; in sctp_setsockopt_add_streams()
4143 struct sctp_association *asoc; in sctp_setsockopt_scheduler()
4185 struct sctp_association *asoc; in sctp_setsockopt_scheduler_value()
4221 struct sctp_association *asoc; in sctp_setsockopt_interleaving_supported()
4256 struct sctp_association *asoc) in sctp_assoc_ulpevent_type_set()
4280 struct sctp_association *asoc; in sctp_setsockopt_event()
4323 struct sctp_association *asoc; in sctp_setsockopt_asconf_supported()
4353 struct sctp_association *asoc; in sctp_setsockopt_auth_supported()
4387 struct sctp_association *asoc; in sctp_setsockopt_ecn_supported()
4409 struct sctp_association *asoc; in sctp_setsockopt_pf_expose()
4437 struct sctp_association *asoc; in sctp_setsockopt_encap_port()
4487 struct sctp_association *asoc; in sctp_setsockopt_probe_interval()
4842 struct sctp_association *asoc; in sctp_accept()
4870 asoc = list_entry(ep->asocs.next, struct sctp_association, asocs); in sctp_accept()
5142 struct sctp_association *asoc; in sctp_shutdown()
5146 struct sctp_association, asocs); in sctp_shutdown()
5151 int sctp_get_sctp_info(struct sock *sk, struct sctp_association *asoc, in sctp_get_sctp_info()
5399 struct sctp_association *asoc = NULL; in sctp_getsockopt_sctp_status()
5612 struct sctp_association *asoc = sctp_id2assoc(sk, id); in sctp_do_peeloff()
5901 struct sctp_association *asoc = NULL; in sctp_getsockopt_peer_addr_params()
6044 struct sctp_association *asoc = NULL; in sctp_getsockopt_delayed_ack()
6129 struct sctp_association *asoc; in sctp_getsockopt_peer_addrs()
6226 struct sctp_association *asoc; in sctp_getsockopt_local_addrs()
6334 struct sctp_association *asoc; in sctp_getsockopt_primary_addr()
6416 struct sctp_association *asoc; in sctp_getsockopt_default_send_param()
6462 struct sctp_association *asoc; in sctp_getsockopt_default_sndinfo()
6541 struct sctp_association *asoc; in sctp_getsockopt_rtoinfo()
6597 struct sctp_association *asoc; in sctp_getsockopt_associnfo()
6687 struct sctp_association *asoc; in sctp_getsockopt_context()
6744 struct sctp_association *asoc; in sctp_getsockopt_maxseg()
6839 struct sctp_association *asoc; in sctp_getsockopt_maxburst()
6915 struct sctp_association *asoc; in sctp_getsockopt_active_key()
6951 struct sctp_association *asoc; in sctp_getsockopt_peer_auth_chunks()
6996 struct sctp_association *asoc; in sctp_getsockopt_local_auth_chunks()
7050 struct sctp_association *asoc; in sctp_getsockopt_assoc_number()
7106 struct sctp_association *asoc; in sctp_getsockopt_assoc_ids()
7157 struct sctp_association *asoc; in sctp_getsockopt_paddr_thresholds()
7215 struct sctp_association *asoc = NULL; in sctp_getsockopt_assoc_stats()
7313 struct sctp_association *asoc; in sctp_getsockopt_pr_supported()
7352 struct sctp_association *asoc; in sctp_getsockopt_default_prinfo()
7398 struct sctp_association *asoc; in sctp_getsockopt_pr_assocstatus()
7457 struct sctp_association *asoc; in sctp_getsockopt_pr_streamstatus()
7521 struct sctp_association *asoc; in sctp_getsockopt_reconfig_supported()
7560 struct sctp_association *asoc; in sctp_getsockopt_enable_strreset()
7599 struct sctp_association *asoc; in sctp_getsockopt_scheduler()
7638 struct sctp_association *asoc; in sctp_getsockopt_scheduler_value()
7680 struct sctp_association *asoc; in sctp_getsockopt_interleaving_supported()
7737 struct sctp_association *asoc; in sctp_getsockopt_event()
7774 struct sctp_association *asoc; in sctp_getsockopt_asconf_supported()
7813 struct sctp_association *asoc; in sctp_getsockopt_auth_supported()
7852 struct sctp_association *asoc; in sctp_getsockopt_ecn_supported()
7891 struct sctp_association *asoc; in sctp_getsockopt_pf_expose()
7928 struct sctp_association *asoc; in sctp_getsockopt_encap_port()
7989 struct sctp_association *asoc; in sctp_getsockopt_probe_interval()
9045 static void __sctp_write_space(struct sctp_association *asoc) in __sctp_write_space()
9076 struct sctp_association *asoc) in sctp_wake_up_waiters()
9078 struct sctp_association *tmp = asoc; in sctp_wake_up_waiters()
9122 struct sctp_association *asoc = chunk->asoc; in sctp_wfree()
9177 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p, in sctp_wait_for_sndbuf()
9262 struct sctp_association *asoc; in sctp_write_space()
9289 static int sctp_wait_for_connect(struct sctp_association *asoc, long *timeo_p) in sctp_wait_for_connect()
9424 struct sctp_association *asoc) in sctp_copy_sock()
9492 struct sctp_association *assoc, in sctp_sock_migrate()