Home
last modified time | relevance | path

Searched refs:asoc (Results 1 – 25 of 49) sorted by relevance

12

/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->base.type = SCTP_EP_TYPE_ASSOCIATION; in sctp_association_init()
[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 in sctp_stream_outq_is_empty()
265 sctp_send_reset_streams(struct sctp_association * asoc,struct sctp_reset_streams * params) sctp_send_reset_streams() argument
380 sctp_send_reset_assoc(struct sctp_association * asoc) sctp_send_reset_assoc() argument
424 sctp_send_add_streams(struct sctp_association * asoc,struct sctp_add_streams * params) sctp_send_add_streams() argument
483 sctp_chunk_lookup_strreset_param(struct sctp_association * asoc,__be32 resp_seq,__be16 type) sctp_chunk_lookup_strreset_param() argument
509 sctp_update_strreset_result(struct sctp_association * asoc,__u32 result) sctp_update_strreset_result() argument
517 sctp_process_strreset_outreq(struct sctp_association * asoc,union sctp_params param,struct sctp_ulpevent ** evp) sctp_process_strreset_outreq() argument
606 sctp_process_strreset_inreq(struct sctp_association * asoc,union sctp_params param,struct sctp_ulpevent ** evp) sctp_process_strreset_inreq() argument
683 sctp_process_strreset_tsnreq(struct sctp_association * asoc,union sctp_params param,struct sctp_ulpevent ** evp) sctp_process_strreset_tsnreq() argument
780 sctp_process_strreset_addstrm_out(struct sctp_association * asoc,union sctp_params param,struct sctp_ulpevent ** evp) sctp_process_strreset_addstrm_out() argument
850 sctp_process_strreset_addstrm_in(struct sctp_association * asoc,union sctp_params param,struct sctp_ulpevent ** evp) sctp_process_strreset_addstrm_in() argument
915 sctp_process_strreset_resp(struct sctp_association * asoc,union sctp_params param,struct sctp_ulpevent ** evp) sctp_process_strreset_resp() argument
[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,
235 sctp_sf_do_4_C(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_4_C() argument
320 sctp_sf_do_5_1B_init(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_1B_init() argument
520 sctp_sf_do_5_1C_ack(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_1C_ack() argument
638 sctp_auth_chunk_verify(struct net * net,struct sctp_chunk * chunk,const struct sctp_association * asoc) sctp_auth_chunk_verify() argument
702 sctp_sf_do_5_1D_ce(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_1D_ce() argument
924 sctp_sf_do_5_1E_ca(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_1E_ca() argument
1017 sctp_sf_heartbeat(const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_heartbeat() argument
1043 sctp_sf_sendbeat_8_3(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_sendbeat_8_3() argument
1091 sctp_sf_send_reconf(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_send_reconf() argument
1120 sctp_sf_send_probe(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_send_probe() argument
1168 sctp_sf_beat_8_3(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_beat_8_3() argument
1242 sctp_sf_backbeat_8_3(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_backbeat_8_3() argument
1391 sctp_sf_check_restart_addrs(const struct sctp_association * new_asoc,const struct sctp_association * asoc,struct sctp_chunk * init,struct sctp_cmd_seq * commands) sctp_sf_check_restart_addrs() argument
1431 sctp_tietags_populate(struct sctp_association * new_asoc,const struct sctp_association * asoc) sctp_tietags_populate() argument
1478 sctp_tietags_compare(struct sctp_association * new_asoc,const struct sctp_association * asoc) sctp_tietags_compare() argument
1516 sctp_sf_do_unexpected_init(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_unexpected_init() argument
1741 sctp_sf_do_5_2_1_siminit(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_2_1_siminit() argument
1796 sctp_sf_do_5_2_2_dupinit(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_2_2_dupinit() argument
1820 sctp_sf_do_5_2_3_initack(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_2_3_initack() argument
1834 sctp_sf_do_assoc_update(struct sctp_association * asoc,struct sctp_association * new,struct sctp_cmd_seq * cmds) sctp_sf_do_assoc_update() argument
1866 sctp_sf_do_dupcook_a(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,struct sctp_chunk * chunk,struct sctp_cmd_seq * commands,struct sctp_association * new_asoc) sctp_sf_do_dupcook_a() argument
1989 sctp_sf_do_dupcook_b(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,struct sctp_chunk * chunk,struct sctp_cmd_seq * commands,struct sctp_association * new_asoc) sctp_sf_do_dupcook_b() argument
2073 sctp_sf_do_dupcook_c(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,struct sctp_chunk * chunk,struct sctp_cmd_seq * commands,struct sctp_association * new_asoc) sctp_sf_do_dupcook_c() argument
2096 sctp_sf_do_dupcook_d(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,struct sctp_chunk * chunk,struct sctp_cmd_seq * commands,struct sctp_association * new_asoc) sctp_sf_do_dupcook_d() argument
2208 sctp_sf_do_5_2_4_dupcook(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_2_4_dupcook() argument
2345 sctp_sf_shutdown_pending_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_shutdown_pending_abort() argument
2391 sctp_sf_shutdown_sent_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_shutdown_sent_abort() argument
2445 sctp_sf_shutdown_ack_sent_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_shutdown_ack_sent_abort() argument
2473 sctp_sf_cookie_echoed_err(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_cookie_echoed_err() argument
2538 sctp_sf_do_5_2_6_stale(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_5_2_6_stale() argument
2657 sctp_sf_do_9_1_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_1_abort() argument
2698 __sctp_sf_do_9_1_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) __sctp_sf_do_9_1_abort() argument
2729 sctp_sf_cookie_wait_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_cookie_wait_abort() argument
2769 sctp_sf_cookie_wait_icmp_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_cookie_wait_icmp_abort() argument
2785 sctp_sf_cookie_echoed_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_cookie_echoed_abort() argument
2805 sctp_stop_t1_and_abort(struct net * net,struct sctp_cmd_seq * commands,__be16 error,int sk_err,const struct sctp_association * asoc,struct sctp_transport * transport) sctp_stop_t1_and_abort() argument
2859 sctp_sf_do_9_2_shutdown(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_2_shutdown() argument
2949 sctp_sf_do_9_2_shut_ctsn(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_2_shut_ctsn() argument
3002 __sctp_sf_do_9_2_reshutack(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) __sctp_sf_do_9_2_reshutack() argument
3040 sctp_sf_do_9_2_reshutack(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_2_reshutack() argument
3085 sctp_sf_do_ecn_cwr(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_ecn_cwr() argument
3141 sctp_sf_do_ecne(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_ecne() argument
3197 sctp_sf_eat_data_6_2(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_eat_data_6_2() argument
3318 sctp_sf_eat_data_fast_4_4(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_eat_data_fast_4_4() argument
3409 sctp_sf_eat_sack_6_2(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_eat_sack_6_2() argument
3486 sctp_sf_tabort_8_4_8(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_tabort_8_4_8() argument
3533 sctp_sf_new_encap_port(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_new_encap_port() argument
3575 sctp_sf_operr_notify(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_operr_notify() argument
3613 sctp_sf_do_9_2_final(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_2_final() argument
3696 sctp_sf_ootb(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_ootb() argument
3792 sctp_sf_shut_8_4_5(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_shut_8_4_5() argument
3848 sctp_sf_do_8_5_1_E_sa(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_8_5_1_E_sa() argument
3876 sctp_sf_do_asconf(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_asconf() argument
3990 sctp_send_next_asconf(struct net * net,const struct sctp_endpoint * ep,struct sctp_association * asoc,const union sctp_subtype type,struct sctp_cmd_seq * commands) sctp_send_next_asconf() argument
4017 sctp_sf_do_asconf_ack(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_asconf_ack() argument
4132 sctp_sf_do_reconf(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_reconf() argument
4209 sctp_sf_eat_fwd_tsn(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_eat_fwd_tsn() argument
4276 sctp_sf_eat_fwd_tsn_fast(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_eat_fwd_tsn_fast() argument
4362 sctp_sf_authenticate(const struct sctp_association * asoc,struct sctp_chunk * chunk) sctp_sf_authenticate() argument
4438 sctp_sf_eat_auth(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_eat_auth() argument
4534 sctp_sf_unk_chunk(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_unk_chunk() argument
4614 sctp_sf_discard_chunk(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_discard_chunk() argument
4657 sctp_sf_pdiscard(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_pdiscard() argument
4684 sctp_sf_violation(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_violation() argument
4708 sctp_sf_abort_violation(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,void * arg,struct sctp_cmd_seq * commands,const __u8 * payload,const size_t paylen) sctp_sf_abort_violation() argument
4825 sctp_sf_violation_chunklen(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_violation_chunklen() argument
4845 sctp_sf_violation_paramlen(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,void * ext,struct sctp_cmd_seq * commands) sctp_sf_violation_paramlen() argument
4888 sctp_sf_violation_ctsn(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_violation_ctsn() argument
4908 sctp_sf_violation_chunk(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_violation_chunk() argument
4980 sctp_sf_do_prm_asoc(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_prm_asoc() argument
5092 sctp_sf_do_prm_send(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_prm_send() argument
5132 sctp_sf_do_9_2_prm_shutdown(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_2_prm_shutdown() argument
5189 sctp_sf_do_9_1_prm_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_1_prm_abort() argument
5226 sctp_sf_error_closed(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_error_closed() argument
5241 sctp_sf_error_shutdown(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_error_shutdown() argument
5268 sctp_sf_cookie_wait_prm_shutdown(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_cookie_wait_prm_shutdown() argument
5303 sctp_sf_cookie_echoed_prm_shutdown(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_cookie_echoed_prm_shutdown() argument
5331 sctp_sf_cookie_wait_prm_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_cookie_wait_prm_abort() argument
5380 sctp_sf_cookie_echoed_prm_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_cookie_echoed_prm_abort() argument
5406 sctp_sf_shutdown_pending_prm_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_shutdown_pending_prm_abort() argument
5433 sctp_sf_shutdown_sent_prm_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_shutdown_sent_prm_abort() argument
5464 sctp_sf_shutdown_ack_sent_prm_abort(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_shutdown_ack_sent_prm_abort() argument
5500 sctp_sf_do_prm_requestheartbeat(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_prm_requestheartbeat() argument
5532 sctp_sf_do_prm_asconf(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_prm_asconf() argument
5549 sctp_sf_do_prm_reconf(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_prm_reconf() argument
5568 sctp_sf_ignore_primitive(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_ignore_primitive() argument
5592 sctp_sf_do_no_pending_tsn(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_no_pending_tsn() argument
5624 sctp_sf_do_9_2_start_shutdown(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_2_start_shutdown() argument
5694 sctp_sf_do_9_2_shutdown_ack(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_9_2_shutdown_ack() argument
5767 sctp_sf_ignore_other(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_ignore_other() argument
5795 sctp_sf_do_6_3_3_rtx(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_6_3_3_rtx() argument
5883 sctp_sf_do_6_2_sack(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_do_6_2_sack() argument
5915 sctp_sf_t1_init_timer_expire(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_t1_init_timer_expire() argument
5980 sctp_sf_t1_cookie_timer_expire(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_t1_cookie_timer_expire() argument
6031 sctp_sf_t2_timer_expire(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_t2_timer_expire() argument
6102 sctp_sf_t4_timer_expire(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_t4_timer_expire() argument
6174 sctp_sf_t5_timer_expire(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_t5_timer_expire() argument
6211 sctp_sf_autoclose_timer_expire(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_autoclose_timer_expire() argument
6254 sctp_sf_not_impl(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_not_impl() argument
6271 sctp_sf_bug(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_bug() argument
6291 sctp_sf_timer_ignore(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const union sctp_subtype type,void * arg,struct sctp_cmd_seq * commands) sctp_sf_timer_ignore() argument
6336 sctp_abort_pkt_new(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,struct sctp_chunk * chunk,const void * payload,size_t paylen) sctp_abort_pkt_new() argument
6377 sctp_ootb_pkt_new(struct net * net,const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_ootb_pkt_new() argument
6461 sctp_send_stale_cookie_err(struct net * net,const struct sctp_endpoint * ep,const struct sctp_association * asoc,const struct sctp_chunk * chunk,struct sctp_cmd_seq * commands,struct sctp_chunk * err_chunk) sctp_send_stale_cookie_err() argument
6490 sctp_eat_data(const struct sctp_association * asoc,struct sctp_chunk * chunk,struct sctp_cmd_seq * commands) sctp_eat_data() 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
198 sctp_make_init(const struct sctp_association * asoc,const struct sctp_bind_addr * bp,gfp_t gfp,int vparam_len) sctp_make_init() argument
371 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
559 sctp_make_cookie_echo(const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_make_cookie_echo() argument
611 sctp_make_cookie_ack(const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_make_cookie_ack() argument
658 sctp_make_cwr(const struct sctp_association * asoc,const __u32 lowest_tsn,const struct sctp_chunk * chunk) sctp_make_cwr() argument
693 sctp_make_ecne(const struct sctp_association * asoc,const __u32 lowest_tsn) sctp_make_ecne() argument
714 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
746 sctp_make_sack(struct sctp_association * asoc) sctp_make_sack() argument
846 sctp_make_shutdown(const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_make_shutdown() argument
870 sctp_make_shutdown_ack(const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_make_shutdown_ack() argument
894 sctp_make_shutdown_complete(const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_make_shutdown_complete() argument
927 sctp_make_abort(const struct sctp_association * asoc,const struct sctp_chunk * chunk,const size_t hint) sctp_make_abort() argument
965 sctp_make_abort_no_data(const struct sctp_association * asoc,const struct sctp_chunk * chunk,__u32 tsn) sctp_make_abort_no_data() argument
1000 sctp_make_abort_user(const struct sctp_association * asoc,struct msghdr * msg,size_t paylen) sctp_make_abort_user() argument
1066 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
1092 sctp_make_violation_paramlen(const struct sctp_association * asoc,const struct sctp_chunk * chunk,struct sctp_paramhdr * param) sctp_make_violation_paramlen() argument
1115 sctp_make_violation_max_retrans(const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_make_violation_max_retrans() argument
1133 sctp_make_new_encap_port(const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_make_new_encap_port() argument
1154 sctp_make_heartbeat(const struct sctp_association * asoc,const struct sctp_transport * transport,__u32 probe_size) sctp_make_heartbeat() argument
1186 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
1227 sctp_make_pad(const struct sctp_association * asoc,int len) sctp_make_pad() argument
1246 sctp_make_op_error_space(const struct sctp_association * asoc,const struct sctp_chunk * chunk,size_t size) sctp_make_op_error_space() argument
1281 sctp_make_op_error_limited(const struct sctp_association * asoc,const struct sctp_chunk * chunk) sctp_make_op_error_limited() argument
1298 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
1318 sctp_make_auth(const struct sctp_association * asoc,__u16 key_id) sctp_make_auth() argument
1368 sctp_chunkify(struct sk_buff * skb,const struct sctp_association * asoc,struct sock * sk,gfp_t gfp) sctp_chunkify() argument
1420 _sctp_make_chunk(const struct sctp_association * asoc,__u8 type,__u8 flags,int paylen,gfp_t gfp) _sctp_make_chunk() argument
1464 sctp_make_data(const struct sctp_association * asoc,__u8 flags,int paylen,gfp_t gfp) sctp_make_data() argument
1470 sctp_make_idata(const struct sctp_association * asoc,__u8 flags,int paylen,gfp_t gfp) sctp_make_idata() argument
1476 sctp_make_control(const struct sctp_association * asoc,__u8 type,__u8 flags,int paylen,gfp_t gfp) sctp_make_control() argument
1624 struct sctp_association *asoc; sctp_make_temp_asoc() local
1647 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
1724 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
1898 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
1927 sctp_process_inv_mandatory(const struct sctp_association * asoc,struct sctp_chunk * chunk,struct sctp_chunk ** errp) sctp_process_inv_mandatory() argument
1943 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
1964 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
2021 sctp_process_ext_param(struct sctp_association * asoc,union sctp_params param) sctp_process_ext_param() argument
2085 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
2139 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
2266 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
2330 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
2515 sctp_process_param(struct sctp_association * asoc,union sctp_params param,const union sctp_addr * peer_addr,gfp_t gfp) sctp_process_param() argument
2772 sctp_make_asconf(struct sctp_association * asoc,union sctp_addr * addr,int vparam_len) sctp_make_asconf() argument
2828 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
2915 sctp_make_asconf_set_prim(struct sctp_association * asoc,union sctp_addr * addr) sctp_make_asconf_set_prim() argument
2964 sctp_make_asconf_ack(const struct sctp_association * asoc,__u32 serial,int vparam_len) sctp_make_asconf_ack() argument
3028 sctp_process_asconf_param(struct sctp_association * asoc,struct sctp_chunk * asconf,struct sctp_addip_param * asconf_param) sctp_process_asconf_param() argument
3171 sctp_verify_asconf(const struct sctp_association * asoc,struct sctp_chunk * chunk,bool addr_param_needed,struct sctp_paramhdr ** errp) sctp_verify_asconf() argument
3240 sctp_process_asconf(struct sctp_association * asoc,struct sctp_chunk * asconf) sctp_process_asconf() argument
3325 sctp_asconf_param_success(struct sctp_association * asoc,struct sctp_addip_param * asconf_param) sctp_asconf_param_success() argument
3440 sctp_process_asconf_ack(struct sctp_association * asoc,struct sctp_chunk * asconf_ack) sctp_process_asconf_ack() argument
3533 sctp_make_fwdtsn(const struct sctp_association * asoc,__u32 new_cum_tsn,size_t nstreams,struct sctp_fwdtsn_skip * skiplist) sctp_make_fwdtsn() argument
3563 sctp_make_ifwdtsn(const struct sctp_association * asoc,__u32 new_cum_tsn,size_t nstreams,struct sctp_ifwdtsn_skip * skiplist) sctp_make_ifwdtsn() argument
3602 sctp_make_reconf(const struct sctp_association * asoc,int length) sctp_make_reconf() argument
3654 sctp_make_strreset_req(const struct sctp_association * asoc,__u16 stream_num,__be16 * stream_list,bool out,bool in) sctp_make_strreset_req() argument
3708 sctp_make_strreset_tsnreq(const struct sctp_association * asoc) sctp_make_strreset_tsnreq() argument
3739 sctp_make_strreset_addstrm(const struct sctp_association * asoc,__u16 out,__u16 in) sctp_make_strreset_addstrm() argument
3784 sctp_make_strreset_resp(const struct sctp_association * asoc,__u32 result,__u32 sn) sctp_make_strreset_resp() argument
3820 sctp_make_strreset_tsnresp(struct sctp_association * asoc,__u32 result,__u32 sn,__u32 sender_tsn,__u32 receiver_tsn) sctp_make_strreset_tsnresp() argument
3846 sctp_verify_reconf(const struct sctp_association * asoc,struct sctp_chunk * chunk,struct sctp_paramhdr ** errp) sctp_verify_reconf() argument
[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) in sctp_wspace() argument
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() local
128 struct sock *sk = asoc->base.sk; in sctp_set_owner_w()
131 sctp_association_hold(asoc); in sctp_set_owner_w()
166 sctp_for_each_tx_datachunk(struct sctp_association * asoc,bool clear,void (* cb)(struct sctp_chunk *)) sctp_for_each_tx_datachunk() argument
193 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
235 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
1662 struct sctp_association *asoc; sctp_sendmsg_new_asoc() local
1751 sctp_sendmsg_check_sflags(struct sctp_association * asoc,__u16 sflags,struct msghdr * msg,size_t msg_len) sctp_sendmsg_check_sflags() argument
1789 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
1916 sctp_sendmsg_update_sinfo(struct sctp_association * asoc,struct sctp_sndrcvinfo * sinfo,struct sctp_cmsgs * cmsgs) sctp_sendmsg_update_sinfo() argument
1947 struct sctp_association *asoc, *tmp; sctp_sendmsg() local
2232 struct sctp_association *asoc; sctp_setsockopt_events() local
2436 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
2630 struct sctp_association *asoc = NULL; sctp_setsockopt_peer_addr_params() local
2715 sctp_apply_asoc_delayed_ack(struct sctp_sack_info * params,struct sctp_association * asoc) sctp_apply_asoc_delayed_ack() argument
2790 struct sctp_association *asoc; __sctp_setsockopt_delayed_ack() local
2916 struct sctp_association *asoc; sctp_setsockopt_default_send_param() local
2974 struct sctp_association *asoc; sctp_setsockopt_default_sndinfo() local
3090 struct sctp_association *asoc; sctp_setsockopt_rtoinfo() local
3155 struct sctp_association *asoc; sctp_setsockopt_associnfo() local
3265 struct sctp_association *asoc; sctp_setsockopt_maxseg() local
3325 struct sctp_association *asoc = NULL; sctp_setsockopt_peer_primary_addr() local
3412 struct sctp_association *asoc; sctp_setsockopt_context() local
3531 struct sctp_association *asoc; sctp_setsockopt_maxburst() local
3643 struct sctp_association *asoc; sctp_setsockopt_auth_key() local
3704 struct sctp_association *asoc; sctp_setsockopt_active_key() local
3752 struct sctp_association *asoc; sctp_setsockopt_del_key() local
3800 struct sctp_association *asoc; sctp_setsockopt_deactivate_key() local
3889 struct sctp_association *asoc; sctp_setsockopt_paddr_thresholds() local
3973 struct sctp_association *asoc; sctp_setsockopt_pr_supported() local
3993 struct sctp_association *asoc; sctp_setsockopt_default_prinfo() local
4044 struct sctp_association *asoc; sctp_setsockopt_reconfig_supported() local
4068 struct sctp_association *asoc; sctp_setsockopt_enable_strreset() local
4109 struct sctp_association *asoc; sctp_setsockopt_reset_streams() local
4131 struct sctp_association *asoc; sctp_setsockopt_reset_assoc() local
4147 struct sctp_association *asoc; sctp_setsockopt_add_streams() local
4164 struct sctp_association *asoc; sctp_setsockopt_scheduler() local
4206 struct sctp_association *asoc; sctp_setsockopt_scheduler_value() local
4242 struct sctp_association *asoc; sctp_setsockopt_interleaving_supported() local
4277 sctp_assoc_ulpevent_type_set(struct sctp_event * param,struct sctp_association * asoc) sctp_assoc_ulpevent_type_set() argument
4301 struct sctp_association *asoc; sctp_setsockopt_event() local
4344 struct sctp_association *asoc; sctp_setsockopt_asconf_supported() local
4374 struct sctp_association *asoc; sctp_setsockopt_auth_supported() local
4408 struct sctp_association *asoc; sctp_setsockopt_ecn_supported() local
4430 struct sctp_association *asoc; sctp_setsockopt_pf_expose() local
4458 struct sctp_association *asoc; sctp_setsockopt_encap_port() local
4508 struct sctp_association *asoc; sctp_setsockopt_probe_interval() local
4856 sctp_clone_sock(struct sock * sk,struct sctp_association * asoc,enum sctp_socket_type type) sctp_clone_sock() argument
4935 struct sctp_association *asoc; sctp_accept() local
5217 struct sctp_association *asoc; sctp_shutdown() local
5226 sctp_get_sctp_info(struct sock * sk,struct sctp_association * asoc,struct sctp_info * info) sctp_get_sctp_info() argument
5475 struct sctp_association *asoc = NULL; sctp_getsockopt_sctp_status() local
5689 struct sctp_association *asoc = sctp_id2assoc(sk, id); sctp_do_peeloff() local
5971 struct sctp_association *asoc = NULL; sctp_getsockopt_peer_addr_params() local
6114 struct sctp_association *asoc = NULL; sctp_getsockopt_delayed_ack() local
6199 struct sctp_association *asoc; sctp_getsockopt_peer_addrs() local
6296 struct sctp_association *asoc; sctp_getsockopt_local_addrs() local
6404 struct sctp_association *asoc; sctp_getsockopt_primary_addr() local
6486 struct sctp_association *asoc; sctp_getsockopt_default_send_param() local
6532 struct sctp_association *asoc; sctp_getsockopt_default_sndinfo() local
6611 struct sctp_association *asoc; sctp_getsockopt_rtoinfo() local
6667 struct sctp_association *asoc; sctp_getsockopt_associnfo() local
6757 struct sctp_association *asoc; sctp_getsockopt_context() local
6814 struct sctp_association *asoc; sctp_getsockopt_maxseg() local
6909 struct sctp_association *asoc; sctp_getsockopt_maxburst() local
6985 struct sctp_association *asoc; sctp_getsockopt_active_key() local
7021 struct sctp_association *asoc; sctp_getsockopt_peer_auth_chunks() local
7066 struct sctp_association *asoc; sctp_getsockopt_local_auth_chunks() local
7120 struct sctp_association *asoc; sctp_getsockopt_assoc_number() local
7176 struct sctp_association *asoc; sctp_getsockopt_assoc_ids() local
7228 struct sctp_association *asoc; sctp_getsockopt_paddr_thresholds() local
7286 struct sctp_association *asoc = NULL; sctp_getsockopt_assoc_stats() local
7384 struct sctp_association *asoc; sctp_getsockopt_pr_supported() local
7423 struct sctp_association *asoc; sctp_getsockopt_default_prinfo() local
7469 struct sctp_association *asoc; sctp_getsockopt_pr_assocstatus() local
7528 struct sctp_association *asoc; sctp_getsockopt_pr_streamstatus() local
7592 struct sctp_association *asoc; sctp_getsockopt_reconfig_supported() local
7631 struct sctp_association *asoc; sctp_getsockopt_enable_strreset() local
7670 struct sctp_association *asoc; sctp_getsockopt_scheduler() local
7709 struct sctp_association *asoc; sctp_getsockopt_scheduler_value() local
7751 struct sctp_association *asoc; sctp_getsockopt_interleaving_supported() local
7808 struct sctp_association *asoc; sctp_getsockopt_event() local
7845 struct sctp_association *asoc; sctp_getsockopt_asconf_supported() local
7884 struct sctp_association *asoc; sctp_getsockopt_auth_supported() local
7923 struct sctp_association *asoc; sctp_getsockopt_ecn_supported() local
7962 struct sctp_association *asoc; sctp_getsockopt_pf_expose() local
7999 struct sctp_association *asoc; sctp_getsockopt_encap_port() local
8060 struct sctp_association *asoc; sctp_getsockopt_probe_interval() local
9122 __sctp_write_space(struct sctp_association * asoc) __sctp_write_space() argument
9154 sctp_wake_up_waiters(struct sock * sk,struct sctp_association * asoc) sctp_wake_up_waiters() argument
9200 struct sctp_association *asoc = chunk->asoc; sctp_wfree() local
9255 sctp_wait_for_sndbuf(struct sctp_association * asoc,struct sctp_transport * transport,long * timeo_p,size_t msg_len) sctp_wait_for_sndbuf() argument
9345 struct sctp_association *asoc; sctp_write_space() local
9372 sctp_wait_for_connect(struct sctp_association * asoc,long * timeo_p) sctp_wait_for_connect() argument
[all...]
H A Dauth.c223 const struct sctp_association *asoc, in sctp_auth_make_local_vector() argument
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() argument
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() argument
312 local_key_vector = sctp_auth_make_local_vector(asoc, gfp); in sctp_auth_asoc_create_secret()
[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 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 const 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 in sctp_sched_set_sched()
195 sctp_sched_get_sched(struct sctp_association * asoc) sctp_sched_get_sched() argument
206 sctp_sched_set_value(struct sctp_association * asoc,__u16 sid,__u16 value,gfp_t gfp) sctp_sched_set_value() argument
223 sctp_sched_get_value(struct sctp_association * asoc,__u16 sid,__u16 * value) sctp_sched_get_value() argument
275 struct sctp_association *asoc; sctp_sched_ops_from_stream() local
[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 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, chunk, in sctp_datamsg_destroy()
108 asoc->stream.si->enqueue_event(&asoc->ulpq, ev); in sctp_datamsg_destroy()
146 struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *asoc, in sctp_datamsg_from_user() 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.c161 if (transport->asoc) in sctp_transport_destroy()
162 sctp_association_put(transport->asoc); in sctp_transport_destroy()
224 struct sctp_association *asoc) in sctp_transport_set_owner() argument
226 transport->asoc = asoc; in sctp_transport_set_owner()
227 sctp_association_hold(asoc); in sctp_transport_set_owner()
241 struct sctp_association *asoc = transport->asoc; in sctp_transport_pmtu() local
243 if (!transport->pathmtu && asoc && asoc->pathmtu) in sctp_transport_pmtu()
244 transport->pathmtu = asoc->pathmtu; in sctp_transport_pmtu()
269 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_send()
279 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
432 sctp_icmp_proto_unreachable(struct sock * sk,struct sctp_association * asoc,struct sctp_transport * t) sctp_icmp_proto_unreachable() argument
470 struct sctp_association *asoc; sctp_err_lookup() local
551 struct sctp_association *asoc = t->asoc; sctp_v4_err_handle() local
614 struct sctp_association *asoc; sctp_v4_err() local
641 struct sctp_association *asoc; sctp_udp_v4_err() local
1060 struct sctp_association *asoc = NULL; __sctp_lookup_association() local
1081 struct sctp_association *asoc; sctp_lookup_association() local
1129 struct sctp_association *asoc; __sctp_rcv_init_lookup() local
1233 struct sctp_association *asoc = NULL; __sctp_rcv_walk_lookup() local
1337 struct sctp_association *asoc; __sctp_rcv_lookup() local
[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()
101 inet_diag_msg_sctpaddrs_fill(struct sk_buff * skb,struct sctp_association * asoc) inet_diag_msg_sctpaddrs_fill() argument
126 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
234 inet_assoc_attr_size(struct sock * sk,struct sctp_association * asoc) inet_assoc_attr_size() argument
[all...]
H A Dendpointola.c156 struct sctp_association *asoc) in sctp_endpoint_add_asoc() argument
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() local
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() local
345 asoc = NULL; in sctp_endpoint_bh_rcv()
382 if (NULL == chunk->asoc) { in sctp_endpoint_bh_rcv()
[all...]
H A Dulpqueue.c41 void sctp_ulpq_init(struct sctp_ulpq *ulpq, struct sctp_association *asoc) in sctp_ulpq_init() argument
45 ulpq->asoc = asoc; in sctp_ulpq_init()
90 event = sctp_ulpevent_make_rcvmsg(chunk->asoc, chunk, gfp); in sctp_ulpq_tail_data()
125 int sctp_clear_pd(struct sock *sk, struct sctp_association *asoc) in sctp_clear_pd() argument
144 if (!skb_queue_empty(&sp->pd_lobby) && asoc) { in sctp_clear_pd()
150 if (event->asoc == asoc) { in sctp_clear_pd()
165 struct sctp_sock *sp = sctp_sk(ulpq->asoc->base.sk); in sctp_ulpq_set_pd()
176 return sctp_clear_pd(ulpq->asoc->base.sk, ulpq->asoc); in sctp_ulpq_clear_pd()
181 struct sock *sk = ulpq->asoc->base.sk; in sctp_ulpq_tail_event()
204 if (!sctp_ulpevent_is_enabled(event, ulpq->asoc->subscribe)) in sctp_ulpq_tail_event()
[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 Dprimitive.c38 int sctp_primitive_ ## name(struct net *net, struct sctp_association *asoc, \
47 state = asoc ? asoc->state : SCTP_STATE_CLOSED; \
48 ep = asoc ? asoc->ep : NULL; \
50 error = sctp_do_sm(net, event_type, subtype, state, ep, asoc, \
H A Dstream_sched_rr.c106 stream = &q->asoc->stream; in sctp_sched_rr_enqueue()
112 struct sctp_stream *stream = &q->asoc->stream; in sctp_sched_rr_dequeue()
141 soute = SCTP_SO(&q->asoc->stream, sid)->ext; in sctp_sched_rr_dequeue_done()
143 sctp_sched_rr_next_stream(&q->asoc->stream); in sctp_sched_rr_dequeue_done()
146 sctp_sched_rr_unsched(&q->asoc->stream, soute); in sctp_sched_rr_dequeue_done()
151 struct sctp_association *asoc; in sctp_sched_rr_sched_all() local
155 asoc = container_of(stream, struct sctp_association, stream); in sctp_sched_rr_sched_all()
156 list_for_each_entry(ch, &asoc->outqueue.out_chunk_list, list) { in sctp_sched_rr_sched_all()
H A Dipv6.c129 struct sctp_association *asoc = t->asoc; in sctp_v6_err_handle() local
130 struct sock *sk = asoc->base.sk; in sctp_v6_err_handle()
136 sctp_icmp_frag_needed(sk, asoc, t, info); in sctp_v6_err_handle()
140 sctp_icmp_proto_unreachable(sk, asoc, t); in sctp_v6_err_handle()
166 struct sctp_association *asoc; in sctp_v6_err() local
175 sk = sctp_err_lookup(net, AF_INET6, skb, sctp_hdr(skb), &asoc, &transport); in sctp_v6_err()
193 struct sctp_association *asoc; in sctp_udp_v6_err() local
199 sk = sctp_err_lookup(net, AF_INET6, skb, sctp_hdr(skb), &asoc, &t); in sctp_udp_v6_err()
278 struct sctp_association *asoc in sctp_v6_get_dst()
276 struct sctp_association *asoc = t->asoc; sctp_v6_get_dst() local
836 struct sctp_association *asoc; sctp_inet6_event_msgname() local
[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 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);
44 __entry->asoc, __entry->primary ? "(*)" : "",
53 const struct sctp_association *asoc,
56 TP_ARGS(ep, asoc, chunk),
59 __field(__u64, asoc)
71 __entry->asoc = (unsigned long)asoc;
[all …]
/linux/Documentation/translations/zh_CN/security/
H A DSCTP.rst31 将关联INIT数据包的 ``@asoc`` 和 ``@chunk->skb`` 传递给安全模块。
35 @asoc - 指向sctp关联结构的指针。
113 @asoc - 指向当前sctp关联结构的指针。
121 到 ``@asoc->peer_secid`` 中::
123 @asoc - 指向sctp关联结构的指针。
194 将关联INIT数据包的 ``@asoc`` 和 ``@chunk->skb`` 传递给安全模块。
198 @asoc - 指向sctp关联结构的指针。
202 如果这是 ``@asoc->base.sk`` 上的首次关联,则将对端的sid设置
204 关联的 ``@asoc->base.sk``。
206 否则验证 ``@asoc->base.sk peer sid`` 是否与 ``@skb peer sid``
[all …]

12