• Home
  • Raw
  • Download

Lines Matching refs:asoc

88 	struct sctp_association *asoc;  in sctp_rcv()  local
160 asoc = __sctp_rcv_lookup(net, skb, &src, &dest, &transport); in sctp_rcv()
162 if (!asoc) in sctp_rcv()
166 rcvr = asoc ? &asoc->base : &ep->base; in sctp_rcv()
177 asoc = NULL; in sctp_rcv()
197 if (!asoc) { in sctp_rcv()
212 chunk = sctp_chunkify(skb, asoc, sk, GFP_ATOMIC); in sctp_rcv()
387 void sctp_icmp_frag_needed(struct sock *sk, struct sctp_association *asoc, in sctp_icmp_frag_needed() argument
397 asoc->pmtu_pending = 1; in sctp_icmp_frag_needed()
417 sctp_assoc_sync_pmtu(asoc); in sctp_icmp_frag_needed()
420 sctp_retransmit(&asoc->outqueue, t, SCTP_RTXR_PMTUD); in sctp_icmp_frag_needed()
447 struct sctp_association *asoc, in sctp_icmp_proto_unreachable() argument
469 asoc->state, asoc->ep, asoc, t, in sctp_icmp_proto_unreachable()
485 struct sctp_association *asoc; in sctp_err_lookup() local
503 asoc = __sctp_lookup_association(net, &saddr, &daddr, &transport); in sctp_err_lookup()
504 if (!asoc) in sctp_err_lookup()
507 sk = asoc->base.sk; in sctp_err_lookup()
529 ntohl(chunkhdr->init_hdr.init_tag) != asoc->c.my_vtag) in sctp_err_lookup()
532 } else if (vtag != asoc->c.peer_vtag) { in sctp_err_lookup()
544 *app = asoc; in sctp_err_lookup()
564 struct sctp_association *asoc = t->asoc; in sctp_v4_err_handle() local
565 struct sock *sk = asoc->base.sk; in sctp_v4_err_handle()
576 sctp_icmp_frag_needed(sk, asoc, t, SCTP_TRUNC4(info)); in sctp_v4_err_handle()
580 sctp_icmp_proto_unreachable(sk, asoc, t); in sctp_v4_err_handle()
627 struct sctp_association *asoc; in sctp_v4_err() local
636 sk = sctp_err_lookup(net, AF_INET, skb, sctp_hdr(skb), &asoc, &transport); in sctp_v4_err()
654 struct sctp_association *asoc; in sctp_udp_v4_err() local
660 sk = sctp_err_lookup(net, AF_INET, skb, sctp_hdr(skb), &asoc, &t); in sctp_udp_v4_err()
913 if (!net_eq(t->asoc->base.net, x->net)) in sctp_hash_cmp()
915 if (x->lport != htons(t->asoc->base.bind_addr.port)) in sctp_hash_cmp()
928 return sctp_hashfn(t->asoc->base.net, in sctp_hash_obj()
929 htons(t->asoc->base.bind_addr.port), in sctp_hash_obj()
965 if (t->asoc->temp) in sctp_hash_transport()
968 arg.net = t->asoc->base.net; in sctp_hash_transport()
970 arg.lport = htons(t->asoc->base.bind_addr.port); in sctp_hash_transport()
977 if (transport->asoc->ep == t->asoc->ep) { in sctp_hash_transport()
993 if (t->asoc->temp) in sctp_unhash_transport()
1021 if (sctp_bind_addr_match(&t->asoc->base.bind_addr, in sctp_addrs_lookup_transport()
1022 laddr, sctp_sk(t->asoc->base.sk))) in sctp_addrs_lookup_transport()
1047 if (ep == t->asoc->ep) in sctp_epaddr_lookup_transport()
1061 struct sctp_association *asoc = NULL; in __sctp_lookup_association() local
1067 asoc = t->asoc; in __sctp_lookup_association()
1071 return asoc; in __sctp_lookup_association()
1081 struct sctp_association *asoc; in sctp_lookup_association() local
1084 asoc = __sctp_lookup_association(net, laddr, paddr, transportp); in sctp_lookup_association()
1087 return asoc; in sctp_lookup_association()
1127 struct sctp_association *asoc; in __sctp_rcv_init_lookup() local
1164 asoc = __sctp_lookup_association(net, laddr, paddr, transportp); in __sctp_rcv_init_lookup()
1165 if (asoc) in __sctp_rcv_init_lookup()
1166 return asoc; in __sctp_rcv_init_lookup()
1229 struct sctp_association *asoc = NULL; in __sctp_rcv_walk_lookup() local
1267 asoc = __sctp_rcv_asconf_lookup( in __sctp_rcv_walk_lookup()
1276 if (asoc) in __sctp_rcv_walk_lookup()
1283 return asoc; in __sctp_rcv_walk_lookup()
1331 struct sctp_association *asoc; in __sctp_rcv_lookup() local
1333 asoc = __sctp_lookup_association(net, laddr, paddr, transportp); in __sctp_rcv_lookup()
1334 if (asoc) in __sctp_rcv_lookup()
1341 asoc = __sctp_rcv_lookup_harder(net, skb, laddr, transportp); in __sctp_rcv_lookup()
1342 if (asoc) in __sctp_rcv_lookup()
1355 return asoc; in __sctp_rcv_lookup()