/linux-master/net/sctp/ |
H A D | associola.c | 43 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, 65 asoc->ep = (struct sctp_endpoint *)ep; 66 asoc->base.sk = (struct sock *)sk; 67 asoc->base.net = sock_net(sk); 69 sctp_endpoint_hold(asoc->ep); 70 sock_hold(asoc->base.sk); 73 asoc 51 sctp_association_init( struct sctp_association *asoc, const struct sctp_endpoint *ep, const struct sock *sk, enum sctp_scope scope, gfp_t gfp) argument 289 struct sctp_association *asoc; local 313 sctp_association_free(struct sctp_association *asoc) argument 399 sctp_association_destroy(struct sctp_association *asoc) argument 422 sctp_assoc_set_primary(struct sctp_association *asoc, struct sctp_transport *transport) argument 481 sctp_assoc_rm_peer(struct sctp_association *asoc, struct sctp_transport *peer) argument 582 sctp_assoc_add_peer(struct sctp_association *asoc, const union sctp_addr *addr, const gfp_t gfp, const int peer_state) argument 739 sctp_assoc_del_peer(struct sctp_association *asoc, const union sctp_addr *addr) argument 757 sctp_assoc_lookup_paddr( const struct sctp_association *asoc, const union sctp_addr *address) argument 775 sctp_assoc_del_nonprimary_peers(struct sctp_association *asoc, struct sctp_transport *primary) argument 793 sctp_assoc_control_transport(struct sctp_association *asoc, struct sctp_transport *transport, enum sctp_transport_cmd command, sctp_sn_error_t error) argument 858 sctp_association_hold(struct sctp_association *asoc) argument 866 sctp_association_put(struct sctp_association *asoc) argument 875 sctp_association_get_next_tsn(struct sctp_association *asoc) argument 908 sctp_get_ecne_prepend(struct sctp_association *asoc) argument 922 sctp_assoc_lookup_tsn(struct sctp_association *asoc, __u32 tsn) argument 980 struct sctp_association *asoc = local 1102 sctp_assoc_update(struct sctp_association *asoc, struct sctp_association *new) argument 1274 sctp_assoc_update_retran_path(struct sctp_association *asoc) argument 1312 sctp_select_active_and_retran_path(struct sctp_association *asoc) argument 1380 sctp_assoc_choose_alter_transport(struct sctp_association *asoc, struct sctp_transport *last_sent_to) argument 1397 sctp_assoc_update_frag_point(struct sctp_association *asoc) argument 1411 sctp_assoc_set_pmtu(struct sctp_association *asoc, __u32 pmtu) argument 1425 sctp_assoc_sync_pmtu(struct sctp_association *asoc) argument 1448 sctp_peer_needs_update(struct sctp_association *asoc) argument 1470 sctp_assoc_rwnd_increase(struct sctp_association *asoc, unsigned int len) argument 1529 sctp_assoc_rwnd_decrease(struct sctp_association *asoc, unsigned int len) argument 1571 sctp_assoc_set_bind_addr_from_ep(struct sctp_association *asoc, enum sctp_scope scope, gfp_t gfp) argument 1595 sctp_assoc_set_bind_addr_from_cookie(struct sctp_association *asoc, struct sctp_cookie *cookie, gfp_t gfp) argument 1609 sctp_assoc_lookup_laddr(struct sctp_association *asoc, const union sctp_addr *laddr) argument 1623 sctp_assoc_set_id(struct sctp_association *asoc, gfp_t gfp) argument 1651 sctp_assoc_free_asconf_queue(struct sctp_association *asoc) argument 1663 sctp_assoc_free_asconf_acks(struct sctp_association *asoc) argument 1676 sctp_assoc_clean_asconf_ack_cache(const struct sctp_association *asoc) argument 1696 sctp_assoc_lookup_asconf_ack( const struct sctp_association *asoc, __be32 serial) argument 1717 sctp_asconf_queue_teardown(struct sctp_association *asoc) argument [all...] |
H A D | sm_sideeffect.c | 44 struct sctp_association *asoc, 53 struct sctp_association **asoc, 64 static void sctp_do_ecn_ce_work(struct sctp_association *asoc, argument 69 asoc->last_ecne_tsn = lowest_tsn; 70 asoc->need_ecne = 1; 85 static struct sctp_chunk *sctp_do_ecn_ecne_work(struct sctp_association *asoc, argument 101 if (TSN_lt(asoc->last_cwr_tsn, lowest_tsn)) { 107 transport = sctp_assoc_lookup_tsn(asoc, lowest_tsn); 113 asoc->last_cwr_tsn = lowest_tsn; 119 repl = sctp_make_cwr(asoc, aso 128 sctp_do_ecn_cwr_work(struct sctp_association *asoc, __u32 lowest_tsn) argument 138 sctp_gen_sack(struct sctp_association *asoc, int force, struct sctp_cmd_seq *commands) argument 235 struct sctp_association *asoc = transport->asoc; local 270 sctp_generate_timeout_event(struct sctp_association *asoc, enum sctp_event_timeout timeout_type) argument 310 struct sctp_association *asoc = local 318 struct sctp_association *asoc = local 326 struct sctp_association *asoc = local 334 struct sctp_association *asoc = local 342 struct sctp_association *asoc = local 353 struct sctp_association *asoc = local 365 struct sctp_association *asoc = transport->asoc; local 411 struct sctp_association *asoc = transport->asoc; local 446 struct sctp_association *asoc = transport->asoc; local 482 struct sctp_association *asoc = transport->asoc; local 513 struct sctp_association *asoc = local 550 sctp_do_8_2_transport_strike(struct sctp_cmd_seq *commands, struct sctp_association *asoc, struct sctp_transport *transport, int is_hb) argument 625 sctp_cmd_init_failed(struct sctp_cmd_seq *commands, struct sctp_association *asoc, unsigned int error) argument 648 sctp_cmd_assoc_failed(struct sctp_cmd_seq *commands, struct sctp_association *asoc, enum sctp_event_type event_type, union sctp_subtype subtype, struct sctp_chunk *chunk, unsigned int error) argument 693 sctp_cmd_process_init(struct sctp_cmd_seq *commands, struct sctp_association *asoc, struct sctp_chunk *chunk, struct sctp_init_chunk *peer_init, gfp_t gfp) argument 715 sctp_cmd_hb_timers_start(struct sctp_cmd_seq *cmds, struct sctp_association *asoc) argument 728 sctp_cmd_hb_timers_stop(struct sctp_cmd_seq *cmds, struct sctp_association *asoc) argument 743 sctp_cmd_t3_rtx_timers_stop(struct sctp_cmd_seq *cmds, struct sctp_association *asoc) argument 757 sctp_cmd_transport_on(struct sctp_cmd_seq *cmds, struct sctp_association *asoc, struct sctp_transport *t, struct sctp_chunk *chunk) argument 828 sctp_cmd_process_sack(struct sctp_cmd_seq *cmds, struct sctp_association *asoc, struct sctp_chunk *chunk) argument 848 sctp_cmd_setup_t2(struct sctp_cmd_seq *cmds, struct sctp_association *asoc, struct sctp_chunk *chunk) argument 866 sctp_cmd_new_state(struct sctp_cmd_seq *cmds, struct sctp_association *asoc, enum sctp_state state) argument 931 sctp_cmd_delete_tcb(struct sctp_cmd_seq *cmds, struct sctp_association *asoc) argument 953 sctp_cmd_setup_t4(struct sctp_cmd_seq *cmds, struct sctp_association *asoc, struct sctp_chunk *chunk) argument 965 sctp_cmd_process_operr(struct sctp_cmd_seq *cmds, struct sctp_association *asoc, struct sctp_chunk *chunk) argument 1017 sctp_cmd_del_non_primary(struct sctp_association *asoc) argument 1033 sctp_cmd_set_sk_err(struct sctp_association *asoc, int error) argument 1042 sctp_cmd_assoc_change(struct sctp_cmd_seq *commands, struct sctp_association *asoc, u8 state) argument 1056 sctp_cmd_peer_no_auth(struct sctp_cmd_seq *commands, struct sctp_association *asoc) argument 1067 sctp_cmd_adaptation_ind(struct sctp_cmd_seq *commands, struct sctp_association *asoc) argument 1079 sctp_cmd_t1_timer_update(struct sctp_association *asoc, enum sctp_event_timeout timer, char *name) argument 1107 sctp_cmd_send_msg(struct sctp_association *asoc, struct sctp_datamsg *msg, gfp_t gfp) argument 1143 sctp_do_sm(struct net *net, enum sctp_event_type event_type, union sctp_subtype subtype, enum sctp_state state, struct sctp_endpoint *ep, struct sctp_association *asoc, void *event_arg, gfp_t gfp) argument 1180 sctp_side_effects(enum sctp_event_type event_type, union sctp_subtype subtype, enum sctp_state state, struct sctp_endpoint *ep, struct sctp_association **asoc, void *event_arg, enum sctp_disposition status, struct sctp_cmd_seq *commands, gfp_t gfp) argument 1269 sctp_cmd_interpreter(enum sctp_event_type event_type, union sctp_subtype subtype, enum sctp_state state, struct sctp_endpoint *ep, struct sctp_association *asoc, void *event_arg, enum sctp_disposition status, struct sctp_cmd_seq *commands, gfp_t gfp) argument [all...] |
H A D | stream.c | 27 struct sctp_association *asoc; local 31 asoc = container_of(stream, struct sctp_association, stream); 32 outq = &asoc->outqueue; 47 if (asoc->peer.prsctp_capable && 49 asoc->sent_cnt_removable--; 229 static int sctp_send_reconf(struct sctp_association *asoc, argument 234 retval = sctp_primitive_RECONF(asoc->base.net, asoc, chunk); 244 struct sctp_association *asoc; local 247 asoc 265 sctp_send_reset_streams(struct sctp_association *asoc, struct sctp_reset_streams *params) argument 380 sctp_send_reset_assoc(struct sctp_association *asoc) argument 424 sctp_send_add_streams(struct sctp_association *asoc, struct sctp_add_streams *params) argument 482 sctp_chunk_lookup_strreset_param( struct sctp_association *asoc, __be32 resp_seq, __be16 type) argument 509 sctp_update_strreset_result(struct sctp_association *asoc, __u32 result) argument 516 sctp_process_strreset_outreq( struct sctp_association *asoc, union sctp_params param, struct sctp_ulpevent **evp) argument 605 sctp_process_strreset_inreq( struct sctp_association *asoc, union sctp_params param, struct sctp_ulpevent **evp) argument 682 sctp_process_strreset_tsnreq( struct sctp_association *asoc, union sctp_params param, struct sctp_ulpevent **evp) argument 779 sctp_process_strreset_addstrm_out( struct sctp_association *asoc, union sctp_params param, struct sctp_ulpevent **evp) argument 849 sctp_process_strreset_addstrm_in( struct sctp_association *asoc, union sctp_params param, struct sctp_ulpevent **evp) argument 914 sctp_process_strreset_resp( struct sctp_association *asoc, union sctp_params param, struct sctp_ulpevent **evp) argument [all...] |
H A D | sm_statefuns.c | 53 const struct sctp_association *asoc, 56 static int sctp_eat_data(const struct sctp_association *asoc, 61 const struct sctp_association *asoc, 65 const struct sctp_association *asoc, 72 const struct sctp_association *asoc, 79 const struct sctp_association *asoc, 86 const struct sctp_association *asoc, 93 const struct sctp_association *asoc, 103 const struct sctp_association *asoc, 109 const struct sctp_association *asoc, 231 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) argument 316 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) argument 516 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) argument 635 sctp_auth_chunk_verify(struct net *net, struct sctp_chunk *chunk, const struct sctp_association *asoc) argument 698 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) argument 919 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) argument 1012 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) argument 1038 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) argument 1086 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) argument 1115 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) argument 1163 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) argument 1237 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) argument 1387 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) argument 1427 sctp_tietags_populate(struct sctp_association *new_asoc, const struct sctp_association *asoc) argument 1474 sctp_tietags_compare(struct sctp_association *new_asoc, const struct sctp_association *asoc) argument 1510 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) argument 1729 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) argument 1784 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) argument 1808 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) argument 1825 sctp_sf_do_assoc_update(struct sctp_association *asoc, struct sctp_association *new, struct sctp_cmd_seq *cmds) argument 1854 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) argument 1977 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) argument 2061 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) argument 2084 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) argument 2196 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) argument 2323 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) argument 2369 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) argument 2423 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) argument 2451 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) argument 2516 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) argument 2639 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) argument 2680 __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) argument 2711 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) argument 2751 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) argument 2767 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) argument 2786 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) argument 2841 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) argument 2931 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) argument 2986 __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) argument 3024 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) argument 3068 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) argument 3124 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) argument 3180 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) argument 3300 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) argument 3392 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) argument 3468 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) argument 3515 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) argument 3558 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) argument 3596 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) argument 3679 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) argument 3774 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) argument 3831 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) argument 3859 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) argument 3972 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) argument 4000 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) argument 4115 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) argument 4192 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) argument 4258 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) argument 4346 sctp_sf_authenticate( const struct sctp_association *asoc, struct sctp_chunk *chunk) argument 4421 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) argument 4517 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) argument 4597 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) argument 4640 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) argument 4667 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) argument 4690 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) argument 4807 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) argument 4827 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) argument 4870 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) argument 4890 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) argument 4963 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) argument 5075 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) argument 5114 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) argument 5171 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) argument 5209 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) argument 5223 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) argument 5250 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) argument 5285 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) argument 5313 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) argument 5362 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) argument 5388 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) argument 5415 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) argument 5446 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) argument 5482 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) argument 5515 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) argument 5532 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) argument 5550 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) argument 5574 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) argument 5606 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) argument 5676 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) argument 5750 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) argument 5778 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) argument 5866 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) argument 5897 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) argument 5962 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) argument 6013 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) argument 6084 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) argument 6156 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) argument 6193 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) argument 6237 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) argument 6254 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) argument 6274 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) argument 6318 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) argument 6360 sctp_ootb_pkt_new( struct net *net, const struct sctp_association *asoc, const struct sctp_chunk *chunk) argument 6444 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) argument 6475 sctp_eat_data(const struct sctp_association *asoc, struct sctp_chunk *chunk, struct sctp_cmd_seq *commands) argument [all...] |
H A D | stream_sched.c | 60 struct sctp_stream *stream = &q->asoc->stream; 148 int sctp_sched_set_sched(struct sctp_association *asoc, argument 151 struct sctp_sched_ops *old = asoc->outqueue.sched; 165 sctp_sched_free_sched(&asoc->stream); 167 asoc->outqueue.sched = n; 168 n->init(&asoc->stream); 169 for (i = 0; i < asoc->stream.outcnt; i++) { 170 if (!SCTP_SO(&asoc->stream, i)->ext) 173 ret = n->init_sid(&asoc->stream, i, GFP_ATOMIC); 179 list_for_each_entry(ch, &asoc 195 sctp_sched_get_sched(struct sctp_association *asoc) argument 206 sctp_sched_set_value(struct sctp_association *asoc, __u16 sid, __u16 value, gfp_t gfp) argument 223 sctp_sched_get_value(struct sctp_association *asoc, __u16 sid, __u16 *value) argument 275 struct sctp_association *asoc; local [all...] |
H A D | socket.c | 75 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p, 88 static int sctp_send_asconf(struct sctp_association *asoc, 108 static inline int sctp_wspace(struct sctp_association *asoc) argument 110 struct sock *sk = asoc->base.sk; 112 return asoc->ep->sndbuf_policy ? sk->sk_sndbuf - asoc->sndbuf_used 127 struct sctp_association *asoc = chunk->asoc; local 128 struct sock *sk = asoc->base.sk; 131 sctp_association_hold(asoc); 166 sctp_for_each_tx_datachunk(struct sctp_association *asoc, bool clear, void (*cb)(struct sctp_chunk *)) argument 193 sctp_for_each_rx_skb(struct sctp_association *asoc, struct sock *sk, void (*cb)(struct sk_buff *, struct sock *)) argument 235 struct sctp_association *asoc = NULL; local 468 sctp_send_asconf(struct sctp_association *asoc, struct sctp_chunk *chunk) argument 561 struct sctp_association *asoc; local 763 struct sctp_association *asoc; local 1072 struct sctp_association *asoc; local 1134 sctp_connect_add_peer(struct sctp_association *asoc, union sctp_addr *daddr, int addr_len) argument 1172 struct sctp_association *asoc; local 1487 struct sctp_association *asoc; local 1663 struct sctp_association *asoc; local 1752 sctp_sendmsg_check_sflags(struct sctp_association *asoc, __u16 sflags, struct msghdr *msg, size_t msg_len) argument 1790 sctp_sendmsg_to_asoc(struct sctp_association *asoc, struct msghdr *msg, size_t msg_len, struct sctp_transport *transport, struct sctp_sndrcvinfo *sinfo) argument 1917 sctp_sendmsg_update_sinfo(struct sctp_association *asoc, struct sctp_sndrcvinfo *sinfo, struct sctp_cmsgs *cmsgs) argument 1948 struct sctp_association *asoc, *tmp; local 2224 struct sctp_association *asoc; local 2426 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) argument 2622 struct sctp_association *asoc = NULL; local 2706 sctp_apply_asoc_delayed_ack(struct sctp_sack_info *params, struct sctp_association *asoc) argument 2782 struct sctp_association *asoc; local 2908 struct sctp_association *asoc; local 2966 struct sctp_association *asoc; local 3082 struct sctp_association *asoc; local 3147 struct sctp_association *asoc; local 3257 struct sctp_association *asoc; local 3317 struct sctp_association *asoc = NULL; local 3404 struct sctp_association *asoc; local 3523 struct sctp_association *asoc; local 3635 struct sctp_association *asoc; local 3696 struct sctp_association *asoc; local 3744 struct sctp_association *asoc; local 3792 struct sctp_association *asoc; local 3881 struct sctp_association *asoc; local 3965 struct sctp_association *asoc; local 3985 struct sctp_association *asoc; local 4036 struct sctp_association *asoc; local 4060 struct sctp_association *asoc; local 4101 struct sctp_association *asoc; local 4123 struct sctp_association *asoc; local 4139 struct sctp_association *asoc; local 4156 struct sctp_association *asoc; local 4198 struct sctp_association *asoc; local 4234 struct sctp_association *asoc; local 4268 sctp_assoc_ulpevent_type_set(struct sctp_event *param, struct sctp_association *asoc) argument 4293 struct sctp_association *asoc; local 4336 struct sctp_association *asoc; local 4366 struct sctp_association *asoc; local 4400 struct sctp_association *asoc; local 4422 struct sctp_association *asoc; local 4450 struct sctp_association *asoc; local 4500 struct sctp_association *asoc; local 4855 struct sctp_association *asoc; local 5155 struct sctp_association *asoc; local 5164 sctp_get_sctp_info(struct sock *sk, struct sctp_association *asoc, struct sctp_info *info) argument 5413 struct sctp_association *asoc = NULL; local 5626 struct sctp_association *asoc = sctp_id2assoc(sk, id); local 5915 struct sctp_association *asoc = NULL; local 6058 struct sctp_association *asoc = NULL; local 6143 struct sctp_association *asoc; local 6240 struct sctp_association *asoc; local 6348 struct sctp_association *asoc; local 6430 struct sctp_association *asoc; local 6476 struct sctp_association *asoc; local 6555 struct sctp_association *asoc; local 6611 struct sctp_association *asoc; local 6701 struct sctp_association *asoc; local 6758 struct sctp_association *asoc; local 6853 struct sctp_association *asoc; local 6929 struct sctp_association *asoc; local 6965 struct sctp_association *asoc; local 7010 struct sctp_association *asoc; local 7064 struct sctp_association *asoc; local 7120 struct sctp_association *asoc; local 7171 struct sctp_association *asoc; local 7229 struct sctp_association *asoc = NULL; local 7327 struct sctp_association *asoc; local 7366 struct sctp_association *asoc; local 7412 struct sctp_association *asoc; local 7471 struct sctp_association *asoc; local 7535 struct sctp_association *asoc; local 7574 struct sctp_association *asoc; local 7613 struct sctp_association *asoc; local 7652 struct sctp_association *asoc; local 7694 struct sctp_association *asoc; local 7751 struct sctp_association *asoc; local 7788 struct sctp_association *asoc; local 7827 struct sctp_association *asoc; local 7866 struct sctp_association *asoc; local 7905 struct sctp_association *asoc; local 7942 struct sctp_association *asoc; local 8003 struct sctp_association *asoc; local 9069 __sctp_write_space(struct sctp_association *asoc) argument 9099 sctp_wake_up_waiters(struct sock *sk, struct sctp_association *asoc) argument 9146 struct sctp_association *asoc = chunk->asoc; local 9201 sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p, size_t msg_len) argument 9286 struct sctp_association *asoc; local 9313 sctp_wait_for_connect(struct sctp_association *asoc, long *timeo_p) argument 9447 sctp_copy_sock(struct sock *newsk, struct sock *sk, struct sctp_association *asoc) argument [all...] |
H A D | chunk.c | 74 struct sctp_association *asoc = NULL; local 90 asoc = chunk->asoc; 91 error = msg->send_error ?: asoc->outqueue.error; 94 if (sctp_ulpevent_type_enabled(asoc->subscribe, 96 ev = sctp_ulpevent_make_send_failed(asoc, chunk, sent, 99 asoc->stream.si->enqueue_event(&asoc->ulpq, ev); 102 if (sctp_ulpevent_type_enabled(asoc->subscribe, 104 ev = sctp_ulpevent_make_send_failed_event(asoc, chun 146 sctp_datamsg_from_user(struct sctp_association *asoc, struct sctp_sndrcvinfo *sinfo, struct iov_iter *from) argument [all...] |
H A D | outqueue.c | 69 oute = SCTP_SO(&q->asoc->stream, stream)->ext; 90 oute = SCTP_SO(&q->asoc->stream, stream)->ext; 191 void sctp_outq_init(struct sctp_association *asoc, struct sctp_outq *q) argument 195 q->asoc = asoc; 201 sctp_sched_set_sched(asoc, sctp_sk(asoc->base.sk)->default_ss); 213 list_for_each_entry(transport, &q->asoc->peer.transport_addr_list, 270 sctp_outq_init(q->asoc, q); 283 struct net *net = q->asoc 342 sctp_prsctp_prune_sent(struct sctp_association *asoc, struct sctp_sndrcvinfo *sinfo, struct list_head *queue, int msg_len) argument 382 sctp_prsctp_prune_unsent(struct sctp_association *asoc, struct sctp_sndrcvinfo *sinfo, int msg_len) argument 423 sctp_prsctp_prune(struct sctp_association *asoc, struct sctp_sndrcvinfo *sinfo, int msg_len) argument 770 const struct sctp_association *asoc = transport->asoc; local 793 struct sctp_association *asoc; member in struct:sctp_flush_ctx 1250 struct sctp_association *asoc = q->asoc; local 1605 struct sctp_association *asoc = transport->asoc; local 1718 struct sctp_association *asoc = q->asoc; local 1824 struct sctp_association *asoc = q->asoc; local [all...] |
H A D | primitive.c | 38 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, \ 66 * This version assumes that asoc is fully populated with the initial
|
H A D | sm_make_chunk.c | 49 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; local 87 ev = sctp_ulpevent_make_authkey(asoc, shkey->key_id, 91 asoc->stream.si->enqueue_event(&asoc 99 struct sctp_association *asoc = chunk->asoc; local 206 sctp_make_init(const struct sctp_association *asoc, const struct sctp_bind_addr *bp, gfp_t gfp, int vparam_len) argument 379 sctp_make_init_ack(const struct sctp_association *asoc, const struct sctp_chunk *chunk, gfp_t gfp, int unkparam_len) argument 567 sctp_make_cookie_echo(const struct sctp_association *asoc, const struct sctp_chunk *chunk) argument 619 sctp_make_cookie_ack(const struct sctp_association *asoc, const struct sctp_chunk *chunk) argument 666 sctp_make_cwr(const struct sctp_association *asoc, const __u32 lowest_tsn, const struct sctp_chunk *chunk) argument 701 sctp_make_ecne(const struct sctp_association *asoc, const __u32 lowest_tsn) argument 722 sctp_make_datafrag_empty(const struct sctp_association *asoc, const struct sctp_sndrcvinfo *sinfo, int len, __u8 flags, gfp_t gfp) argument 754 sctp_make_sack(struct sctp_association *asoc) argument 854 sctp_make_shutdown(const struct sctp_association *asoc, const struct sctp_chunk *chunk) argument 878 sctp_make_shutdown_ack(const struct sctp_association *asoc, const struct sctp_chunk *chunk) argument 901 sctp_make_shutdown_complete( const struct sctp_association *asoc, const struct sctp_chunk *chunk) argument 935 sctp_make_abort(const struct sctp_association *asoc, const struct sctp_chunk *chunk, const size_t hint) argument 972 sctp_make_abort_no_data( const struct sctp_association *asoc, const struct sctp_chunk *chunk, __u32 tsn) argument 1008 sctp_make_abort_user(const struct sctp_association *asoc, struct msghdr *msg, size_t paylen) argument 1073 sctp_make_abort_violation( const struct sctp_association *asoc, const struct sctp_chunk *chunk, const __u8 *payload, const size_t paylen) argument 1099 sctp_make_violation_paramlen( const struct sctp_association *asoc, const struct sctp_chunk *chunk, struct sctp_paramhdr *param) argument 1122 sctp_make_violation_max_retrans( const struct sctp_association *asoc, const struct sctp_chunk *chunk) argument 1141 sctp_make_new_encap_port(const struct sctp_association *asoc, const struct sctp_chunk *chunk) argument 1162 sctp_make_heartbeat(const struct sctp_association *asoc, const struct sctp_transport *transport, __u32 probe_size) argument 1194 sctp_make_heartbeat_ack(const struct sctp_association *asoc, const struct sctp_chunk *chunk, const void *payload, const size_t paylen) argument 1235 sctp_make_pad(const struct sctp_association *asoc, int len) argument 1253 sctp_make_op_error_space( const struct sctp_association *asoc, const struct sctp_chunk *chunk, size_t size) argument 1288 sctp_make_op_error_limited( const struct sctp_association *asoc, const struct sctp_chunk *chunk) 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) argument 1326 sctp_make_auth(const struct sctp_association *asoc, __u16 key_id) argument 1375 sctp_chunkify(struct sk_buff *skb, const struct sctp_association *asoc, struct sock *sk, gfp_t gfp) argument 1428 _sctp_make_chunk(const struct sctp_association *asoc, __u8 type, __u8 flags, int paylen, gfp_t gfp) argument 1472 sctp_make_data(const struct sctp_association *asoc, __u8 flags, int paylen, gfp_t gfp) argument 1478 sctp_make_idata(const struct sctp_association *asoc, __u8 flags, int paylen, gfp_t gfp) argument 1484 sctp_make_control(const struct sctp_association *asoc, __u8 type, __u8 flags, int paylen, gfp_t gfp) argument 1632 struct sctp_association *asoc; local 1653 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) argument 1740 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) argument 1923 sctp_process_missing_param(const struct sctp_association *asoc, enum sctp_param paramtype, struct sctp_chunk *chunk, struct sctp_chunk **errp) argument 1952 sctp_process_inv_mandatory(const struct sctp_association *asoc, struct sctp_chunk *chunk, struct sctp_chunk **errp) argument 1968 sctp_process_inv_paramlength(const struct sctp_association *asoc, struct sctp_paramhdr *param, const struct sctp_chunk *chunk, struct sctp_chunk **errp) argument 1989 sctp_process_hn_param(const struct sctp_association *asoc, union sctp_params param, struct sctp_chunk *chunk, struct sctp_chunk **errp) argument 2046 sctp_process_ext_param(struct sctp_association *asoc, union sctp_params param) argument 2109 sctp_process_unk_param( const struct sctp_association *asoc, union sctp_params param, struct sctp_chunk *chunk, struct sctp_chunk **errp) argument 2162 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) argument 2290 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) 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) argument 2540 sctp_process_param(struct sctp_association *asoc, union sctp_params param, const union sctp_addr *peer_addr, gfp_t gfp) argument 2797 sctp_make_asconf(struct sctp_association *asoc, union sctp_addr *addr, int vparam_len) argument 2853 sctp_make_asconf_update_ip(struct sctp_association *asoc, union sctp_addr *laddr, struct sockaddr *addrs, int addrcnt, __be16 flags) argument 2940 sctp_make_asconf_set_prim(struct sctp_association *asoc, union sctp_addr *addr) argument 2989 sctp_make_asconf_ack(const struct sctp_association *asoc, __u32 serial, int vparam_len) argument 3053 sctp_process_asconf_param(struct sctp_association *asoc, struct sctp_chunk *asconf, struct sctp_addip_param *asconf_param) argument 3196 sctp_verify_asconf(const struct sctp_association *asoc, struct sctp_chunk *chunk, bool addr_param_needed, struct sctp_paramhdr **errp) argument 3265 sctp_process_asconf(struct sctp_association *asoc, struct sctp_chunk *asconf) argument 3350 sctp_asconf_param_success(struct sctp_association *asoc, struct sctp_addip_param *asconf_param) argument 3465 sctp_process_asconf_ack(struct sctp_association *asoc, struct sctp_chunk *asconf_ack) argument 3558 sctp_make_fwdtsn(const struct sctp_association *asoc, __u32 new_cum_tsn, size_t nstreams, struct sctp_fwdtsn_skip *skiplist) argument 3588 sctp_make_ifwdtsn(const struct sctp_association *asoc, __u32 new_cum_tsn, size_t nstreams, struct sctp_ifwdtsn_skip *skiplist) argument 3627 sctp_make_reconf(const struct sctp_association *asoc, int length) argument 3678 sctp_make_strreset_req( const struct sctp_association *asoc, __u16 stream_num, __be16 *stream_list, bool out, bool in) argument 3732 sctp_make_strreset_tsnreq( const struct sctp_association *asoc) argument 3763 sctp_make_strreset_addstrm( const struct sctp_association *asoc, __u16 out, __u16 in) argument 3809 sctp_make_strreset_resp(const struct sctp_association *asoc, __u32 result, __u32 sn) argument 3845 sctp_make_strreset_tsnresp(struct sctp_association *asoc, __u32 result, __u32 sn, __u32 sender_tsn, __u32 receiver_tsn) argument 3871 sctp_verify_reconf(const struct sctp_association *asoc, struct sctp_chunk *chunk, struct sctp_paramhdr **errp) argument [all...] |
H A D | auth.c | 222 const struct sctp_association *asoc, 226 (struct sctp_random_param *)asoc->c.auth_random, 227 (struct sctp_chunks_param *)asoc->c.auth_chunks, 228 (struct sctp_hmac_algo_param *)asoc->c.auth_hmacs, gfp); 233 const struct sctp_association *asoc, 236 return sctp_auth_make_key_vector(asoc->peer.peer_random, 237 asoc->peer.peer_chunks, 238 asoc->peer.peer_hmacs, 287 const struct sctp_association *asoc, 311 local_key_vector = sctp_auth_make_local_vector(asoc, gf 221 sctp_auth_make_local_vector( const struct sctp_association *asoc, gfp_t gfp) argument 232 sctp_auth_make_peer_vector( const struct sctp_association *asoc, gfp_t gfp) argument 286 sctp_auth_asoc_create_secret( const struct sctp_association *asoc, struct sctp_shared_key *ep_key, gfp_t gfp) argument 353 sctp_auth_asoc_copy_shkeys(const struct sctp_endpoint *ep, struct sctp_association *asoc, gfp_t gfp) argument 383 sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp) argument 429 sctp_auth_get_shkey( const struct sctp_association *asoc, __u16 key_id) argument 524 sctp_auth_asoc_get_hmac(const struct sctp_association *asoc) argument 584 sctp_auth_asoc_verify_hmac_id(const struct sctp_association *asoc, __be16 hmac_id) argument 606 sctp_auth_asoc_set_default_hmac(struct sctp_association *asoc, struct sctp_hmac_algo_param *hmacs) argument 674 sctp_auth_send_cid(enum sctp_cid chunk, const struct sctp_association *asoc) argument 686 sctp_auth_recv_cid(enum sctp_cid chunk, const struct sctp_association *asoc) 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) argument 817 sctp_auth_set_key(struct sctp_endpoint *ep, struct sctp_association *asoc, struct sctp_authkey *auth_key) argument 880 sctp_auth_set_active_key(struct sctp_endpoint *ep, struct sctp_association *asoc, __u16 key_id) argument 923 sctp_auth_del_key_id(struct sctp_endpoint *ep, struct sctp_association *asoc, __u16 key_id) argument 967 sctp_auth_deact_key_id(struct sctp_endpoint *ep, struct sctp_association *asoc, __u16 key_id) argument [all...] |
H A D | ulpevent.c | 32 struct sctp_association *asoc); 77 const struct sctp_association *asoc) 85 sctp_association_hold((struct sctp_association *)asoc); 87 event->asoc = (struct sctp_association *)asoc; 88 atomic_add(event->rmem_len, &event->asoc->rmem_alloc); 89 sctp_skb_set_owner_r(skb, asoc->base.sk); 91 chunk->head_skb->sk = asoc->base.sk; 97 struct sctp_association *asoc = event->asoc; local 76 sctp_ulpevent_set_owner(struct sctp_ulpevent *event, const struct sctp_association *asoc) argument 114 sctp_ulpevent_make_assoc_change( const struct sctp_association *asoc, __u16 flags, __u16 state, __u16 error, __u16 outbound, __u16 inbound, struct sctp_chunk *chunk, gfp_t gfp) argument 241 sctp_ulpevent_make_peer_addr_change( const struct sctp_association *asoc, const struct sockaddr_storage *aaddr, int flags, int state, int error, gfp_t gfp) argument 342 struct sctp_association *asoc = transport->asoc; local 374 sctp_ulpevent_make_remote_error(const struct sctp_association *asoc, struct sctp_chunk *chunk, __u16 flags, gfp_t gfp) argument 430 sctp_ulpevent_make_send_failed( const struct sctp_association *asoc, struct sctp_chunk *chunk, __u16 flags, __u32 error, gfp_t gfp) argument 533 sctp_ulpevent_make_send_failed_event( const struct sctp_association *asoc, struct sctp_chunk *chunk, __u16 flags, __u32 error, gfp_t gfp) argument 577 sctp_ulpevent_make_shutdown_event( const struct sctp_association *asoc, __u16 flags, gfp_t gfp) argument 640 sctp_ulpevent_make_adaptation_indication( const struct sctp_association *asoc, gfp_t gfp) argument 675 sctp_ulpevent_make_rcvmsg(struct sctp_association *asoc, struct sctp_chunk *chunk, gfp_t gfp) argument 771 sctp_ulpevent_make_pdapi( const struct sctp_association *asoc, __u32 indication, __u32 sid, __u32 seq, __u32 flags, gfp_t gfp) argument 825 sctp_ulpevent_make_authkey( const struct sctp_association *asoc, __u16 key_id, __u32 indication, gfp_t gfp) argument 864 sctp_ulpevent_make_sender_dry_event( const struct sctp_association *asoc, gfp_t gfp) argument 888 sctp_ulpevent_make_stream_reset_event( const struct sctp_association *asoc, __u16 flags, __u16 stream_num, __be16 *stream_list, gfp_t gfp) argument 917 sctp_ulpevent_make_assoc_reset_event( const struct sctp_association *asoc, __u16 flags, __u32 local_tsn, __u32 remote_tsn, gfp_t gfp) argument 944 sctp_ulpevent_make_stream_change_event( const struct sctp_association *asoc, __u16 flags, __u32 strchange_instrms, __u32 strchange_outstrms, gfp_t gfp) argument 1078 sctp_ulpevent_receive_data(struct sctp_ulpevent *event, struct sctp_association *asoc) argument [all...] |
H A D | input.c | 91 struct sctp_association *asoc; local 165 asoc = __sctp_rcv_lookup(net, skb, &src, &dest, &transport, dif, sdif); 167 if (!asoc) 171 rcvr = asoc ? &asoc->base : &ep->base; 182 if (!asoc) { 197 chunk = sctp_chunkify(skb, asoc, sk, GFP_ATOMIC); 248 /* Release the asoc/ep ref we took in the lookup calls. */ 262 /* Release the asoc/ep ref we took in the lookup calls. */ 372 void sctp_icmp_frag_needed(struct sock *sk, struct sctp_association *asoc, argument 431 sctp_icmp_proto_unreachable(struct sock *sk, struct sctp_association *asoc, struct sctp_transport *t) argument 470 struct sctp_association *asoc; local 551 struct sctp_association *asoc = t->asoc; local 614 struct sctp_association *asoc; local 641 struct sctp_association *asoc; local 1057 struct sctp_association *asoc = NULL; local 1078 struct sctp_association *asoc; local 1126 struct sctp_association *asoc; local 1230 struct sctp_association *asoc = NULL; local 1334 struct sctp_association *asoc; local [all...] |
H A D | endpointola.c | 152 struct sctp_association *asoc) 160 if (asoc->temp) 164 list_add_tail(&asoc->asocs, &ep->asocs); 275 struct sctp_association *asoc = NULL; local 292 asoc = t->asoc; 295 return asoc; 330 struct sctp_association *asoc; local 344 asoc = NULL; 381 if (NULL == chunk->asoc) { 151 sctp_endpoint_add_asoc(struct sctp_endpoint *ep, struct sctp_association *asoc) argument [all...] |
H A D | output.c | 77 struct sctp_association *asoc = tp->asoc; local 91 if (asoc) { 92 sk = asoc->base.sk; 98 if (!asoc) 104 if (asoc->param_flags & SPP_PMTUD_ENABLE) 105 sctp_assoc_sync_pmtu(asoc); 107 asoc->param_flags & SPP_PMTUD_ENABLE) { 109 sctp_assoc_sync_pmtu(asoc); 112 if (asoc 244 struct sctp_association *asoc = pkt->transport->asoc; local 290 struct sctp_association *asoc; local 572 struct sctp_association *asoc = tp->asoc; local 677 struct sctp_association *asoc = transport->asoc; local 761 struct sctp_association *asoc = transport->asoc; local [all...] |
H A D | transport.c | 168 if (transport->asoc) 169 sctp_association_put(transport->asoc); 231 struct sctp_association *asoc) 233 transport->asoc = asoc; 234 sctp_association_hold(asoc); 248 struct sctp_association *asoc = transport->asoc; local 250 if (!transport->pathmtu && asoc && asoc 230 sctp_transport_set_owner(struct sctp_transport *transport, struct sctp_association *asoc) argument 451 struct sctp_association *asoc = transport->asoc; local 558 struct sctp_association *asoc = transport->asoc; local 656 struct sctp_association *asoc = transport->asoc; local 757 struct sctp_association *asoc = t->asoc; local 798 struct sctp_association *asoc = t->asoc; local [all...] |
H A D | diag.c | 25 /* define some functions to make asoc/ep fill look clean */ 28 struct sctp_association *asoc) 32 struct timer_list *t3_rtx = &asoc->peer.primary_path->T3_rtx_timer; 34 laddr = list_entry(asoc->base.bind_addr.address_list.next, 36 paddr = asoc->peer.primary_path->ipaddr; 37 dst = asoc->peer.primary_path->dst; 40 r->id.idiag_sport = htons(asoc->base.bind_addr.port); 41 r->id.idiag_dport = htons(asoc->peer.port); 59 r->idiag_state = asoc->state; 62 r->idiag_retrans = asoc 26 inet_diag_msg_sctpasoc_fill(struct inet_diag_msg *r, struct sock *sk, struct sctp_association *asoc) argument 93 inet_diag_msg_sctpaddrs_fill(struct sk_buff *skb, struct sctp_association *asoc) 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) argument 226 inet_assoc_attr_size(struct sctp_association *asoc) argument [all...] |
H A D | stream_sched_rr.c | 106 stream = &q->asoc->stream; 112 struct sctp_stream *stream = &q->asoc->stream; 141 soute = SCTP_SO(&q->asoc->stream, sid)->ext; 143 sctp_sched_rr_next_stream(&q->asoc->stream); 146 sctp_sched_rr_unsched(&q->asoc->stream, soute); 151 struct sctp_association *asoc; local 155 asoc = container_of(stream, struct sctp_association, stream); 156 list_for_each_entry(ch, &asoc->outqueue.out_chunk_list, list) {
|
/linux-master/include/trace/events/ |
H A D | sctp.h | 14 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, chun [all...] |
/linux-master/include/net/sctp/ |
H A D | sm.h | 56 const struct sctp_association *asoc, 170 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc, 173 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc, 176 struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *asoc, 178 struct sctp_chunk *sctp_make_cookie_ack(const struct sctp_association *asoc, 180 struct sctp_chunk *sctp_make_cwr(const struct sctp_association *asoc, 183 struct sctp_chunk *sctp_make_idata(const struct sctp_association *asoc, 185 struct sctp_chunk *sctp_make_ifwdtsn(const struct sctp_association *asoc, 188 struct sctp_chunk *sctp_make_datafrag_empty(const struct sctp_association *asoc, 191 struct sctp_chunk *sctp_make_ecne(const struct sctp_association *asoc, 375 sctp_vtag_verify(const struct sctp_chunk *chunk, const struct sctp_association *asoc) argument 395 sctp_vtag_verify_either(const struct sctp_chunk *chunk, const struct sctp_association *asoc) argument [all...] |
H A D | auth.h | 73 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp); 75 const struct sctp_association *asoc, 78 struct sctp_association *asoc, 83 struct sctp_hmac *sctp_auth_asoc_get_hmac(const struct sctp_association *asoc); 84 void sctp_auth_asoc_set_default_hmac(struct sctp_association *asoc, 86 int sctp_auth_asoc_verify_hmac_id(const struct sctp_association *asoc, 89 const struct sctp_association *asoc); 91 const struct sctp_association *asoc); 92 void sctp_auth_calculate_hmac(const struct sctp_association *asoc, 102 int sctp_auth_set_key(struct sctp_endpoint *ep, struct sctp_association *asoc, [all...] |
H A D | ulpevent.h | 39 struct sctp_association *asoc; member in struct:sctp_ulpevent 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, __u1 [all...] |
H A D | ulpqueue.h | 31 struct sctp_association *asoc; member in struct:sctp_ulpq 38 void sctp_ulpq_init(struct sctp_ulpq *ulpq, struct sctp_association *asoc); 58 int sctp_clear_pd(struct sock *sk, struct sctp_association *asoc);
|
H A D | stream_sched.h | 44 int sctp_sched_set_sched(struct sctp_association *asoc, 46 int sctp_sched_get_sched(struct sctp_association *asoc); 47 int sctp_sched_set_value(struct sctp_association *asoc, __u16 sid, 49 int sctp_sched_get_value(struct sctp_association *asoc, __u16 sid,
|
/linux-master/arch/arm/mach-imx/ |
H A D | ssi-fiq-ksym.c | 10 #include <linux/platform_data/asoc-imx-ssi.h>
|