/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/sctp/ |
H A D | command.h | 131 struct sctp_association *asoc; member in union:__anon10604 180 SCTP_ARG_CONSTRUCTOR(ASOC, struct sctp_association *, asoc)
|
H A D | sctp.h | 176 struct sctp_association *asoc, 395 static inline sctp_assoc_t sctp_assoc2id(const struct sctp_association *asoc) argument 397 return (asoc?asoc->assoc_id:0); 506 static inline void sctp_assoc_pending_pmtu(struct sctp_association *asoc) argument 509 sctp_assoc_sync_pmtu(asoc); 510 asoc->pmtu_pending = 0; 659 #define sctp_state(asoc, state) __sctp_state((asoc), (SCTP_STATE_##state)) 660 static inline int __sctp_state(const struct sctp_association *asoc, argument [all...] |
H A D | sm.h | 211 struct sctp_chunk *sctp_make_shutdown(const struct sctp_association *asoc, 213 struct sctp_chunk *sctp_make_shutdown_ack(const struct sctp_association *asoc, 248 struct sctp_chunk *sctp_make_asconf_set_prim(struct sctp_association *asoc, 250 struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc, 252 int sctp_process_asconf_ack(struct sctp_association *asoc, 254 struct sctp_chunk *sctp_make_fwdtsn(const struct sctp_association *asoc, 266 struct sctp_association *asoc, 395 const struct sctp_association *asoc) 403 if (ntohl(chunk->sctp_hdr->vtag) == asoc->c.my_vtag) 414 const struct sctp_association *asoc) 394 sctp_vtag_verify(const struct sctp_chunk *chunk, const struct sctp_association *asoc) argument 413 sctp_vtag_verify_either(const struct sctp_chunk *chunk, const struct sctp_association *asoc) argument [all...] |
H A D | structs.h | 167 * 1 - do sctp accounting, each asoc may use sk_sndbuf bytes 174 * 1 - do sctp accounting, each asoc may use sk_rcvbuf bytes 531 struct dst_entry *(*get_dst) (struct sctp_association *asoc, 534 void (*get_saddr) (struct sctp_association *asoc, 594 struct sctp_association *asoc); 687 struct sctp_association *asoc; member in struct:sctp_chunk 831 struct sctp_association *asoc; member in struct:sctp_transport 1062 struct sctp_association *asoc; member in struct:sctp_outq 1315 int sctp_verify_init(const struct sctp_association *asoc, sctp_cid_t, 1811 struct sctp_association *asoc; local [all...] |
H A D | ulpevent.h | 57 struct sctp_association *asoc; member in struct:sctp_ulpevent 86 const struct sctp_association *asoc, 96 const struct sctp_association *asoc, 104 const struct sctp_association *asoc, 109 const struct sctp_association *asoc, 116 const struct sctp_association *asoc, 121 const struct sctp_association *asoc, 125 const struct sctp_association *asoc, gfp_t gfp); 127 struct sctp_ulpevent *sctp_ulpevent_make_rcvmsg(struct sctp_association *asoc,
|
H A D | ulpqueue.h | 54 struct sctp_association *asoc; member in struct:sctp_ulpq 81 int sctp_clear_pd(struct sock *sk, struct sctp_association *asoc);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sctp/ |
H A D | associola.c | 69 static struct sctp_association *sctp_association_init(struct sctp_association *asoc, argument 82 memset(asoc, 0, sizeof(struct sctp_association)); 85 asoc->ep = (struct sctp_endpoint *)ep; 86 sctp_endpoint_hold(asoc->ep); 89 asoc->base.sk = (struct sock *)sk; 90 sock_hold(asoc->base.sk); 93 asoc->base.type = SCTP_EP_TYPE_ASSOCIATION; 96 atomic_set(&asoc->base.refcnt, 1); 97 asoc->base.dead = 0; 98 asoc 316 struct sctp_association *asoc; local 340 sctp_association_free(struct sctp_association *asoc) argument 415 sctp_association_destroy(struct sctp_association *asoc) argument 437 sctp_assoc_set_primary(struct sctp_association *asoc, struct sctp_transport *transport) argument 479 sctp_assoc_rm_peer(struct sctp_association *asoc, struct sctp_transport *peer) argument 526 sctp_assoc_add_peer(struct sctp_association *asoc, const union sctp_addr *addr, const gfp_t gfp, const int peer_state) argument 661 sctp_assoc_del_peer(struct sctp_association *asoc, const union sctp_addr *addr) argument 679 sctp_assoc_lookup_paddr( const struct sctp_association *asoc, const union sctp_addr *address) argument 701 sctp_assoc_control_transport(struct sctp_association *asoc, struct sctp_transport *transport, sctp_transport_cmd_t command, sctp_sn_error_t error) argument 803 sctp_association_hold(struct sctp_association *asoc) argument 811 sctp_association_put(struct sctp_association *asoc) argument 820 sctp_association_get_next_tsn(struct sctp_association *asoc) argument 849 sctp_get_ecne_prepend(struct sctp_association *asoc) argument 867 sctp_assoc_lookup_tsn(struct sctp_association *asoc, __u32 tsn) argument 921 sctp_assoc_is_match(struct sctp_association *asoc, const union sctp_addr *laddr, const union sctp_addr *paddr) argument 949 struct sctp_association *asoc = local 1030 sctp_assoc_update(struct sctp_association *asoc, struct sctp_association *new) argument 1113 sctp_assoc_update_retran_path(struct sctp_association *asoc) argument 1167 sctp_assoc_choose_init_transport( struct sctp_association *asoc) argument 1194 sctp_assoc_choose_shutdown_transport( struct sctp_association *asoc) argument 1214 sctp_assoc_sync_pmtu(struct sctp_association *asoc) argument 1245 sctp_peer_needs_update(struct sctp_association *asoc) argument 1264 sctp_assoc_rwnd_increase(struct sctp_association *asoc, unsigned len) argument 1310 sctp_assoc_rwnd_decrease(struct sctp_association *asoc, unsigned len) argument 1328 sctp_assoc_set_bind_addr_from_ep(struct sctp_association *asoc, gfp_t gfp) argument 1350 sctp_assoc_set_bind_addr_from_cookie(struct sctp_association *asoc, struct sctp_cookie *cookie, gfp_t gfp) argument 1363 sctp_assoc_lookup_laddr(struct sctp_association *asoc, const union sctp_addr *laddr) argument 1383 sctp_assoc_set_id(struct sctp_association *asoc, gfp_t gfp) argument [all...] |
H A D | chunk.c | 82 struct sctp_association *asoc = NULL; local 94 asoc = chunk->asoc; 98 error = asoc->outqueue.error; 100 sp = sctp_sk(asoc->base.sk); 113 ev = sctp_ulpevent_make_send_failed(asoc, chunk, sent, 116 sctp_ulpq_tail_event(&asoc->ulpq, ev); 168 struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *asoc, argument 195 max = asoc->frag_point; 201 if (asoc [all...] |
H A D | endpointola.c | 145 struct sctp_association *asoc) 153 if (asoc->temp) 157 list_add_tail(&asoc->asocs, &ep->asocs); 256 struct sctp_association *asoc; local 262 asoc = list_entry(pos, struct sctp_association, asocs); 263 if (rport == asoc->peer.port) { 264 sctp_read_lock(&asoc->base.addr_lock); 265 *transport = sctp_assoc_lookup_paddr(asoc, paddr); 266 sctp_read_unlock(&asoc->base.addr_lock); 269 return asoc; 144 sctp_endpoint_add_asoc(struct sctp_endpoint *ep, struct sctp_association *asoc) argument 283 struct sctp_association *asoc; local 324 struct sctp_association *asoc; local [all...] |
H A D | input.c | 118 struct sctp_association *asoc; local 176 asoc = __sctp_rcv_lookup(skb, &src, &dest, &transport); 178 if (!asoc) 182 rcvr = asoc ? &asoc->base : &ep->base; 191 if (asoc) { 192 sctp_association_put(asoc); 193 asoc = NULL; 212 if (!asoc) { 227 chunk = sctp_chunkify(skb, asoc, s 367 sctp_icmp_frag_needed(struct sock *sk, struct sctp_association *asoc, struct sctp_transport *t, __u32 pmtu) argument 407 sctp_icmp_proto_unreachable(struct sock *sk, struct sctp_association *asoc, struct sctp_transport *t) argument 430 struct sctp_association *asoc; local 477 sctp_err_finish(struct sock *sk, struct sctp_association *asoc) argument 506 struct sctp_association *asoc = NULL; local 737 __sctp_hash_established(struct sctp_association *asoc) argument 761 sctp_hash_established(struct sctp_association *asoc) argument 772 __sctp_unhash_established(struct sctp_association *asoc) argument 797 sctp_unhash_established(struct sctp_association *asoc) argument 815 struct sctp_association *asoc; local 849 struct sctp_association *asoc; local 862 struct sctp_association *asoc; local 894 struct sctp_association *asoc; local 965 struct sctp_association *asoc; local [all...] |
H A D | ipv6.c | 126 struct sctp_association *asoc; local 139 sk = sctp_err_lookup(AF_INET6, skb, sctp_hdr(skb), &asoc, &transport); 154 sctp_icmp_frag_needed(sk, asoc, transport, ntohl(info)); 158 sctp_icmp_proto_unreachable(sk, asoc, transport); 176 sctp_err_finish(sk, asoc); 225 static struct dst_entry *sctp_v6_get_dst(struct sctp_association *asoc, argument 285 * and asoc's bind address list. 287 static void sctp_v6_get_saddr(struct sctp_association *asoc, argument 301 SCTP_DEBUG_PRINTK("%s: asoc:%p dst:%p " 303 __FUNCTION__, asoc, ds 613 sctp_v6_create_accept_sk(struct sock *sk, struct sctp_association *asoc) argument 729 struct sctp_association *asoc; local [all...] |
H A D | output.c | 85 chunk = sctp_get_ecne_prepend(packet->transport->asoc); 102 struct sctp_association *asoc = transport->asoc; local 112 if (asoc) { 113 struct sctp_sock *sp = sctp_sk(asoc->base.sk); 195 struct sctp_association *asoc; local 196 asoc = pkt->transport->asoc; 198 if (asoc->a_rwnd > asoc 296 struct sctp_association *asoc = tp->asoc; local 544 struct sctp_association *asoc = transport->asoc; local [all...] |
H A D | outqueue.c | 202 void sctp_outq_init(struct sctp_association *asoc, struct sctp_outq *q) argument 204 q->asoc = asoc; 228 list_for_each(pos, &q->asoc->peer.transport_addr_list) { 317 switch (q->asoc->state) { 409 q->asoc->peer.rwnd += (sctp_data_size(chunk) + 432 q->asoc->peer.rwnd += (sctp_data_size(chunk) + 489 if (transport == transport->asoc->peer.retran_path) 490 sctp_assoc_update_retran_path(transport->asoc); 510 sctp_generate_fwdtsn(q, q->asoc 534 struct sctp_association *asoc; local 676 struct sctp_association *asoc = q->asoc; local 1001 sctp_highest_new_tsn(struct sctp_sackhdr *sack, struct sctp_association *asoc) argument 1037 struct sctp_association *asoc = q->asoc; local 1671 struct sctp_association *asoc = q->asoc; local [all...] |
H A D | primitive.c | 59 int sctp_primitive_ ## name(struct sctp_association *asoc, \ 68 state = asoc ? asoc->state : SCTP_STATE_CLOSED; \ 69 ep = asoc ? asoc->ep : NULL; \ 71 error = sctp_do_sm(event_type, subtype, state, ep, asoc, \ 87 * This version assumes that asoc is fully populated with the initial
|
H A D | proc.c | 149 struct sctp_association *asoc; local 156 asoc = sctp_assoc(epb); 157 peer = asoc->peer.primary_path;
|
H A D | protocol.c | 412 static struct dst_entry *sctp_v4_get_dst(struct sctp_association *asoc, argument 428 if (asoc) { 429 fl.fl4_tos = RT_CONN_FLAGS(asoc->base.sk); 430 fl.oif = asoc->base.sk->sk_bound_dev_if; 446 if (!asoc || saddr) 449 bp = &asoc->base.bind_addr; 450 addr_lock = &asoc->base.addr_lock; 507 static void sctp_v4_get_saddr(struct sctp_association *asoc, argument 514 if (!asoc) 519 saddr->v4.sin_port = htons(asoc 537 sctp_v4_create_accept_sk(struct sock *sk, struct sctp_association *asoc) argument 720 struct sctp_association *asoc; local [all...] |
H A D | sm_make_chunk.c | 71 struct sctp_chunk *sctp_make_chunk(const struct sctp_association *asoc, 74 const struct sctp_association *asoc, 78 static int sctp_process_param(struct sctp_association *asoc, 175 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc, argument 199 init.init_tag = htonl(asoc->c.my_vtag); 200 init.a_rwnd = htonl(asoc->rwnd); 201 init.num_outbound_streams = htons(asoc->c.sinit_num_ostreams); 202 init.num_inbound_streams = htons(asoc->c.sinit_max_instreams); 203 init.initial_tsn = htonl(asoc->c.initial_tsn); 206 sp = sctp_sk(asoc 250 sctp_make_init_ack(const struct sctp_association *asoc, const struct sctp_chunk *chunk, gfp_t gfp, int unkparam_len) argument 373 sctp_make_cookie_echo(const struct sctp_association *asoc, const struct sctp_chunk *chunk) argument 424 sctp_make_cookie_ack(const struct sctp_association *asoc, const struct sctp_chunk *chunk) argument 469 sctp_make_cwr(const struct sctp_association *asoc, const __u32 lowest_tsn, const struct sctp_chunk *chunk) argument 504 sctp_make_ecne(const struct sctp_association *asoc, const __u32 lowest_tsn) argument 525 sctp_make_datafrag_empty(struct sctp_association *asoc, const struct sctp_sndrcvinfo *sinfo, int data_len, __u8 flags, __u16 ssn) argument 563 sctp_make_sack(const struct sctp_association *asoc) argument 644 sctp_make_shutdown(const struct sctp_association *asoc, const struct sctp_chunk *chunk) argument 668 sctp_make_shutdown_ack(const struct sctp_association *asoc, const struct sctp_chunk *chunk) argument 690 sctp_make_shutdown_complete( const struct sctp_association *asoc, const struct sctp_chunk *chunk) argument 723 sctp_make_abort(const struct sctp_association *asoc, const struct sctp_chunk *chunk, const size_t hint) argument 759 sctp_make_abort_no_data( const struct sctp_association *asoc, const struct sctp_chunk *chunk, __u32 tsn) argument 794 sctp_make_abort_user(const struct sctp_association *asoc, const struct msghdr *msg, size_t paylen) argument 834 sctp_make_abort_violation( const struct sctp_association *asoc, const struct sctp_chunk *chunk, const __u8 *payload, const size_t paylen) argument 859 sctp_make_heartbeat(const struct sctp_association *asoc, const struct sctp_transport *transport, const void *payload, const size_t paylen) argument 879 sctp_make_heartbeat_ack(const struct sctp_association *asoc, const struct sctp_chunk *chunk, const void *payload, const size_t paylen) argument 910 sctp_make_op_error_space( const struct sctp_association *asoc, const struct sctp_chunk *chunk, size_t size) argument 938 sctp_make_op_error(const struct sctp_association *asoc, const struct sctp_chunk *chunk, __be16 cause_code, const void *payload, size_t paylen) argument 959 sctp_chunkify(struct sk_buff *skb, const struct sctp_association *asoc, struct sock *sk) argument 1036 sctp_make_chunk(const struct sctp_association *asoc, __u8 type, __u8 flags, int paylen) argument 1206 struct sctp_association *asoc; local 1234 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 1327 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 1528 sctp_process_missing_param(const struct sctp_association *asoc, sctp_param_t paramtype, struct sctp_chunk *chunk, struct sctp_chunk **errp) argument 1556 sctp_process_inv_mandatory(const struct sctp_association *asoc, struct sctp_chunk *chunk, struct sctp_chunk **errp) argument 1572 sctp_process_inv_paramlength(const struct sctp_association *asoc, struct sctp_paramhdr *param, const struct sctp_chunk *chunk, struct sctp_chunk **errp) argument 1599 sctp_process_hn_param(const struct sctp_association *asoc, union sctp_params param, struct sctp_chunk *chunk, struct sctp_chunk **errp) argument 1644 sctp_process_unk_param(const struct sctp_association *asoc, union sctp_params param, struct sctp_chunk *chunk, struct sctp_chunk **errp) argument 1706 sctp_verify_param(const struct sctp_association *asoc, union sctp_params param, sctp_cid_t cid, struct sctp_chunk *chunk, struct sctp_chunk **err_chunk) argument 1745 sctp_verify_init(const struct sctp_association *asoc, sctp_cid_t cid, sctp_init_chunk_t *peer_init, struct sctp_chunk *chunk, struct sctp_chunk **errp) argument 1809 sctp_process_init(struct sctp_association *asoc, sctp_cid_t cid, const union sctp_addr *peer_addr, sctp_init_chunk_t *peer_init, gfp_t gfp) argument 1968 sctp_process_param(struct sctp_association *asoc, union sctp_params param, const union sctp_addr *peer_addr, gfp_t gfp) argument 2136 sctp_make_asconf(struct sctp_association *asoc, union sctp_addr *addr, int vparam_len) argument 2191 sctp_make_asconf_update_ip(struct sctp_association *asoc, union sctp_addr *laddr, struct sockaddr *addrs, int addrcnt, __be16 flags) argument 2258 sctp_make_asconf_set_prim(struct sctp_association *asoc, union sctp_addr *addr) argument 2307 sctp_make_asconf_ack(const struct sctp_association *asoc, __u32 serial, int vparam_len) argument 2369 sctp_process_asconf_param(struct sctp_association *asoc, struct sctp_chunk *asconf, sctp_addip_param_t *asconf_param) argument 2444 sctp_process_asconf(struct sctp_association *asoc, struct sctp_chunk *asconf) argument 2534 sctp_asconf_param_success(struct sctp_association *asoc, sctp_addip_param_t *asconf_param) argument 2648 sctp_process_asconf_ack(struct sctp_association *asoc, struct sctp_chunk *asconf_ack) argument 2751 sctp_make_fwdtsn(const struct sctp_association *asoc, __u32 new_cum_tsn, size_t nstreams, struct sctp_fwdtsn_skip *skiplist) argument [all...] |
H A D | sm_sideeffect.c | 62 struct sctp_association *asoc, 70 struct sctp_association *asoc, 81 static void sctp_do_ecn_ce_work(struct sctp_association *asoc, argument 86 asoc->last_ecne_tsn = lowest_tsn; 87 asoc->need_ecne = 1; 102 static struct sctp_chunk *sctp_do_ecn_ecne_work(struct sctp_association *asoc, argument 118 if (TSN_lt(asoc->last_cwr_tsn, lowest_tsn)) { 124 transport = sctp_assoc_lookup_tsn(asoc, lowest_tsn); 130 asoc->last_cwr_tsn = lowest_tsn; 136 repl = sctp_make_cwr(asoc, aso 145 sctp_do_ecn_cwr_work(struct sctp_association *asoc, __u32 lowest_tsn) argument 155 sctp_gen_sack(struct sctp_association *asoc, int force, sctp_cmd_seq_t *commands) argument 240 struct sctp_association *asoc = transport->asoc; local 278 sctp_generate_timeout_event(struct sctp_association *asoc, sctp_event_timeout_t timeout_type) argument 317 struct sctp_association *asoc = (struct sctp_association *) data; local 323 struct sctp_association *asoc = (struct sctp_association *) data; local 329 struct sctp_association *asoc = (struct sctp_association *) data; local 335 struct sctp_association *asoc = (struct sctp_association *) data; local 341 struct sctp_association *asoc = (struct sctp_association *)data; local 349 struct sctp_association *asoc = (struct sctp_association *) data; local 360 struct sctp_association *asoc = transport->asoc; local 394 struct sctp_association *asoc = (struct sctp_association *) data; local 427 sctp_do_8_2_transport_strike(struct sctp_association *asoc, struct sctp_transport *transport) argument 460 sctp_cmd_init_failed(sctp_cmd_seq_t *commands, struct sctp_association *asoc, unsigned error) argument 483 sctp_cmd_assoc_failed(sctp_cmd_seq_t *commands, struct sctp_association *asoc, sctp_event_t event_type, sctp_subtype_t subtype, struct sctp_chunk *chunk, unsigned error) argument 520 sctp_cmd_process_init(sctp_cmd_seq_t *commands, struct sctp_association *asoc, struct sctp_chunk *chunk, sctp_init_chunk_t *peer_init, gfp_t gfp) argument 543 sctp_cmd_hb_timers_start(sctp_cmd_seq_t *cmds, struct sctp_association *asoc) argument 561 sctp_cmd_hb_timers_stop(sctp_cmd_seq_t *cmds, struct sctp_association *asoc) argument 577 sctp_cmd_t3_rtx_timers_stop(sctp_cmd_seq_t *cmds, struct sctp_association *asoc) argument 594 sctp_cmd_hb_timer_update(sctp_cmd_seq_t *cmds, struct sctp_association *asoc, struct sctp_transport *t) argument 604 sctp_cmd_transport_on(sctp_cmd_seq_t *cmds, struct sctp_association *asoc, struct sctp_transport *t, struct sctp_chunk *chunk) argument 647 sctp_cmd_transport_reset(sctp_cmd_seq_t *cmds, struct sctp_association *asoc, struct sctp_transport *t) argument 658 sctp_cmd_process_sack(sctp_cmd_seq_t *cmds, struct sctp_association *asoc, struct sctp_sackhdr *sackh) argument 683 sctp_cmd_setup_t2(sctp_cmd_seq_t *cmds, struct sctp_association *asoc, struct sctp_chunk *chunk) argument 696 sctp_cmd_new_state(sctp_cmd_seq_t *cmds, struct sctp_association *asoc, sctp_state_t state) argument 751 sctp_cmd_delete_tcb(sctp_cmd_seq_t *cmds, struct sctp_association *asoc) argument 774 sctp_cmd_setup_t4(sctp_cmd_seq_t *cmds, struct sctp_association *asoc, struct sctp_chunk *chunk) argument 786 sctp_cmd_process_operr(sctp_cmd_seq_t *cmds, struct sctp_association *asoc, struct sctp_chunk *chunk) argument 839 sctp_cmd_del_non_primary(struct sctp_association *asoc) argument 857 sctp_cmd_set_sk_err(struct sctp_association *asoc, int error) argument 866 sctp_cmd_assoc_change(sctp_cmd_seq_t *commands, struct sctp_association *asoc, u8 state) argument 881 sctp_cmd_adaptation_ind(sctp_cmd_seq_t *commands, struct sctp_association *asoc) argument 920 sctp_do_sm(sctp_event_t event_type, sctp_subtype_t subtype, sctp_state_t state, struct sctp_endpoint *ep, struct sctp_association *asoc, void *event_arg, gfp_t gfp) argument 963 sctp_side_effects(sctp_event_t event_type, sctp_subtype_t subtype, sctp_state_t state, struct sctp_endpoint *ep, struct sctp_association *asoc, void *event_arg, sctp_disposition_t status, sctp_cmd_seq_t *commands, gfp_t gfp) argument 1044 sctp_cmd_interpreter(sctp_event_t event_type, sctp_subtype_t subtype, sctp_state_t state, struct sctp_endpoint *ep, struct sctp_association *asoc, void *event_arg, sctp_disposition_t status, sctp_cmd_seq_t *commands, gfp_t gfp) argument [all...] |
H A D | sm_statefuns.c | 69 const struct sctp_association *asoc, 73 static int sctp_eat_data(const struct sctp_association *asoc, 76 static struct sctp_packet *sctp_ootb_pkt_new(const struct sctp_association *asoc, 79 const struct sctp_association *asoc, 84 const struct sctp_association *asoc, 89 const struct sctp_association *asoc, 97 const struct sctp_association *asoc, 102 const struct sctp_association *asoc, 154 * (endpoint, asoc, chunk) 157 * (asoc, reply_ms 161 sctp_sf_do_4_C(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 241 sctp_sf_do_5_1B_init(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 435 sctp_sf_do_5_1C_ack(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 567 sctp_sf_do_5_1D_ce(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 733 sctp_sf_do_5_1E_ca(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 811 sctp_sf_heartbeat(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 845 sctp_sf_sendbeat_8_3(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 912 sctp_sf_beat_8_3(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 979 sctp_sf_backbeat_8_3(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 1110 sctp_sf_check_restart_addrs(const struct sctp_association *new_asoc, const struct sctp_association *asoc, struct sctp_chunk *init, sctp_cmd_seq_t *commands) argument 1163 sctp_tietags_populate(struct sctp_association *new_asoc, const struct sctp_association *asoc) argument 1210 sctp_tietags_compare(struct sctp_association *new_asoc, const struct sctp_association *asoc) argument 1246 sctp_sf_do_unexpected_init( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 1452 sctp_sf_do_5_2_1_siminit(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 1505 sctp_sf_do_5_2_2_dupinit(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 1527 sctp_sf_do_5_2_3_initack(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 1546 sctp_sf_do_dupcook_a(const struct sctp_endpoint *ep, const struct sctp_association *asoc, struct sctp_chunk *chunk, sctp_cmd_seq_t *commands, struct sctp_association *new_asoc) argument 1636 sctp_sf_do_dupcook_b(const struct sctp_endpoint *ep, const struct sctp_association *asoc, struct sctp_chunk *chunk, sctp_cmd_seq_t *commands, struct sctp_association *new_asoc) argument 1708 sctp_sf_do_dupcook_c(const struct sctp_endpoint *ep, const struct sctp_association *asoc, struct sctp_chunk *chunk, sctp_cmd_seq_t *commands, struct sctp_association *new_asoc) argument 1729 sctp_sf_do_dupcook_d(const struct sctp_endpoint *ep, const struct sctp_association *asoc, struct sctp_chunk *chunk, sctp_cmd_seq_t *commands, struct sctp_association *new_asoc) argument 1825 sctp_sf_do_5_2_4_dupcook(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 1924 sctp_sf_shutdown_pending_abort( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 1961 sctp_sf_shutdown_sent_abort(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2001 sctp_sf_shutdown_ack_sent_abort( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2028 sctp_sf_cookie_echoed_err(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2087 sctp_sf_do_5_2_6_stale(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2209 sctp_sf_do_9_1_abort(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2254 sctp_sf_cookie_wait_abort(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2292 sctp_sf_cookie_wait_icmp_abort(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2306 sctp_sf_cookie_echoed_abort(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2323 sctp_stop_t1_and_abort(sctp_cmd_seq_t *commands, __be16 error, int sk_err, const struct sctp_association *asoc, struct sctp_transport *transport) argument 2374 sctp_sf_do_9_2_shutdown(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2446 sctp_sf_do_9_2_reshutack(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2504 sctp_sf_do_ecn_cwr(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2559 sctp_sf_do_ecne(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2615 sctp_sf_eat_data_6_2(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2729 sctp_sf_eat_data_fast_4_4(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2816 sctp_sf_eat_sack_6_2(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2881 sctp_sf_tabort_8_4_8(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2931 sctp_sf_operr_notify(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 2979 sctp_sf_do_9_2_final(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 3061 sctp_sf_ootb(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 3128 sctp_sf_shut_8_4_5(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 3187 sctp_sf_do_8_5_1_E_sa(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 3202 sctp_sf_do_asconf(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 3272 sctp_sf_do_asconf_ack(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 3379 sctp_sf_eat_fwd_tsn(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 3435 sctp_sf_eat_fwd_tsn_fast( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 3517 sctp_sf_unk_chunk(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 3598 sctp_sf_discard_chunk(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 3626 sctp_sf_pdiscard(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 3653 sctp_sf_violation(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 3682 sctp_sf_violation_chunklen( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 3787 sctp_sf_do_prm_asoc(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 3897 sctp_sf_do_prm_send(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 3935 sctp_sf_do_9_2_prm_shutdown( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 3997 sctp_sf_do_9_1_prm_abort( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4036 sctp_sf_error_closed(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4049 sctp_sf_error_shutdown(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4074 sctp_sf_cookie_wait_prm_shutdown( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4108 sctp_sf_cookie_echoed_prm_shutdown( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4134 sctp_sf_cookie_wait_prm_abort( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4183 sctp_sf_cookie_echoed_prm_abort( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4208 sctp_sf_shutdown_pending_prm_abort( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4234 sctp_sf_shutdown_sent_prm_abort( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4264 sctp_sf_shutdown_ack_sent_prm_abort( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4299 sctp_sf_do_prm_requestheartbeat( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4331 sctp_sf_do_prm_asconf(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4351 sctp_sf_ignore_primitive( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4379 sctp_sf_do_9_2_start_shutdown( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4441 sctp_sf_do_9_2_shutdown_ack( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4512 sctp_sf_ignore_other(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4537 sctp_sf_do_6_3_3_rtx(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4609 sctp_sf_do_6_2_sack(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4639 sctp_sf_t1_init_timer_expire(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4700 sctp_sf_t1_cookie_timer_expire(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4746 sctp_sf_t2_timer_expire(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4808 sctp_sf_t4_timer_expire( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4877 sctp_sf_t5_timer_expire(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4908 sctp_sf_autoclose_timer_expire( const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4956 sctp_sf_not_impl(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4973 sctp_sf_bug(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 4993 sctp_sf_timer_ignore(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument 5035 sctp_abort_pkt_new(const struct sctp_endpoint *ep, const struct sctp_association *asoc, struct sctp_chunk *chunk, const void *payload, size_t paylen) argument 5076 sctp_ootb_pkt_new(const struct sctp_association *asoc, const struct sctp_chunk *chunk) argument 5140 sctp_send_stale_cookie_err(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const struct sctp_chunk *chunk, sctp_cmd_seq_t *commands, struct sctp_chunk *err_chunk) argument 5170 sctp_eat_data(const struct sctp_association *asoc, struct sctp_chunk *chunk, sctp_cmd_seq_t *commands) argument [all...] |
H A D | socket.c | 102 static int sctp_send_asconf(struct sctp_association *asoc, 113 static inline int sctp_wspace(struct sctp_association *asoc) argument 115 struct sock *sk = asoc->base.sk; 118 if (asoc->ep->sndbuf_policy) { 120 amt = sk->sk_sndbuf - asoc->sndbuf_used; 143 struct sctp_association *asoc = chunk->asoc; local 144 struct sock *sk = asoc->base.sk; 147 sctp_association_hold(asoc); 155 asoc 188 struct sctp_association *asoc = NULL; local 399 sctp_send_asconf(struct sctp_association *asoc, struct sctp_chunk *chunk) argument 492 struct sctp_association *asoc; local 685 struct sctp_association *asoc; local 963 struct sctp_association *asoc = NULL; local 1220 struct sctp_association *asoc; local 1328 struct sctp_association *new_asoc=NULL, *asoc=NULL; local 2023 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 2169 struct sctp_association *asoc = NULL; local 2276 struct sctp_association *asoc = NULL; local 2397 struct sctp_association *asoc; local 2489 struct sctp_association *asoc; local 2543 struct sctp_association *asoc; local 2643 struct sctp_association *asoc; local 2679 struct sctp_association *asoc = NULL; local 2759 struct sctp_association *asoc; local 3069 struct sctp_association *asoc; local 3278 struct sctp_association *asoc; local 3305 struct sctp_association *asoc = NULL; local 3497 sctp_do_peeloff(struct sctp_association *asoc, struct socket **sockp) argument 3540 struct sctp_association *asoc; local 3679 struct sctp_association *asoc = NULL; local 3780 struct sctp_association *asoc = NULL; local 3851 struct sctp_association *asoc; local 3881 struct sctp_association *asoc; local 3930 struct sctp_association *asoc; local 3985 struct sctp_association *asoc; local 4118 struct sctp_association *asoc; local 4221 struct sctp_association *asoc; local 4331 struct sctp_association *asoc; local 4413 struct sctp_association *asoc; local 4493 struct sctp_association *asoc; local 4548 struct sctp_association *asoc; local 4641 struct sctp_association *asoc; local 5609 __sctp_write_space(struct sctp_association *asoc) argument 5639 struct sctp_association *asoc; local 5674 sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p, size_t msg_len) argument 5737 struct sctp_association *asoc; local 5771 sctp_wait_for_connect(struct sctp_association *asoc, long *timeo_p) argument [all...] |
H A D | transport.c | 66 peer->asoc = NULL; 185 if (transport->asoc) 186 sctp_association_put(transport->asoc); 224 struct sctp_association *asoc) 226 transport->asoc = asoc; 227 sctp_association_hold(asoc); 289 struct sctp_association *asoc = transport->asoc; local 294 dst = af->get_dst(asoc, dadd 223 sctp_transport_set_owner(struct sctp_transport *transport, struct sctp_association *asoc) argument 572 struct sctp_association *asoc = t->asoc; local [all...] |
H A D | ulpevent.c | 52 struct sctp_association *asoc); 97 const struct sctp_association *asoc) 104 sctp_association_hold((struct sctp_association *)asoc); 106 event->asoc = (struct sctp_association *)asoc; 107 atomic_add(event->rmem_len, &event->asoc->rmem_alloc); 108 sctp_skb_set_owner_r(skb, asoc->base.sk); 114 struct sctp_association *asoc = event->asoc; local 116 atomic_sub(event->rmem_len, &asoc 96 sctp_ulpevent_set_owner(struct sctp_ulpevent *event, const struct sctp_association *asoc) argument 131 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 260 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 374 sctp_ulpevent_make_remote_error( const struct sctp_association *asoc, struct sctp_chunk *chunk, __u16 flags, gfp_t gfp) argument 472 sctp_ulpevent_make_send_failed( const struct sctp_association *asoc, struct sctp_chunk *chunk, __u16 flags, __u32 error, gfp_t gfp) argument 581 sctp_ulpevent_make_shutdown_event( const struct sctp_association *asoc, __u16 flags, gfp_t gfp) argument 645 sctp_ulpevent_make_adaptation_indication( const struct sctp_association *asoc, gfp_t gfp) argument 681 sctp_ulpevent_make_rcvmsg(struct sctp_association *asoc, struct sctp_chunk *chunk, gfp_t gfp) argument 746 sctp_ulpevent_make_pdapi( const struct sctp_association *asoc, __u32 indication, gfp_t gfp) argument 893 sctp_ulpevent_receive_data(struct sctp_ulpevent *event, struct sctp_association *asoc) argument 913 sctp_ulpevent_receive_data(sctp_skb2event(frag), asoc); local [all...] |
H A D | ulpqueue.c | 61 struct sctp_association *asoc) 65 ulpq->asoc = asoc; 112 event = sctp_ulpevent_make_rcvmsg(chunk->asoc, chunk, gfp); 141 int sctp_clear_pd(struct sock *sk, struct sctp_association *asoc) argument 162 if (!skb_queue_empty(&sp->pd_lobby) && asoc) { 168 if (event->asoc == asoc) { 183 struct sctp_sock *sp = sctp_sk(ulpq->asoc->base.sk); 193 return sctp_clear_pd(ulpq->asoc 60 sctp_ulpq_init(struct sctp_ulpq *ulpq, struct sctp_association *asoc) argument 416 struct sctp_association *asoc; local 919 struct sctp_association *asoc; local 952 struct sctp_association *asoc; local [all...] |