• Home
  • Raw
  • Download

Lines Matching refs:paddr

51 				      const union sctp_addr *paddr,
841 const union sctp_addr *paddr, __u32 seed) in sctp_hashfn() argument
845 if (paddr->sa.sa_family == AF_INET6) in sctp_hashfn()
846 addr = jhash(&paddr->v6.sin6_addr, 16, seed); in sctp_hashfn()
848 addr = (__force __u32)paddr->v4.sin_addr.s_addr; in sctp_hashfn()
850 return jhash_3words(addr, ((__force __u32)paddr->v4.sin_port) << 16 | in sctp_hashfn()
858 const union sctp_addr *paddr) in __sctp_rcv_lookup_endpoint() argument
882 __u32 phash = sctp_hashfn(net, lport, paddr, 0); in __sctp_rcv_lookup_endpoint()
896 const union sctp_addr *paddr; member
908 if (!sctp_cmp_addr_exact(&t->ipaddr, x->paddr)) in sctp_hash_cmp()
937 return sctp_hashfn(x->net, x->lport, x->paddr, seed); in sctp_hash_key()
969 arg.paddr = &t->ipaddr; in sctp_hash_transport()
1004 const union sctp_addr *paddr) in sctp_addrs_lookup_transport() argument
1009 .paddr = paddr, in sctp_addrs_lookup_transport()
1033 const union sctp_addr *paddr) in sctp_epaddr_lookup_transport() argument
1038 .paddr = paddr, in sctp_epaddr_lookup_transport()
1078 const union sctp_addr *paddr, in sctp_lookup_association() argument
1084 asoc = __sctp_lookup_association(net, laddr, paddr, transportp); in sctp_lookup_association()
1093 const union sctp_addr *paddr) in sctp_has_association() argument
1097 if (sctp_lookup_association(net, laddr, paddr, &transport)) { in sctp_has_association()
1129 union sctp_addr *paddr = &addr; in __sctp_rcv_init_lookup() local
1161 if (!af->from_addr_param(paddr, params.addr, sh->source, 0)) in __sctp_rcv_init_lookup()
1164 asoc = __sctp_lookup_association(net, laddr, paddr, transportp); in __sctp_rcv_init_lookup()
1196 union sctp_addr paddr; in __sctp_rcv_asconf_lookup() local
1208 if (!af->from_addr_param(&paddr, param, peer_port, 0)) in __sctp_rcv_asconf_lookup()
1211 return __sctp_lookup_association(net, laddr, &paddr, transportp); in __sctp_rcv_asconf_lookup()
1327 const union sctp_addr *paddr, in __sctp_rcv_lookup() argument
1333 asoc = __sctp_lookup_association(net, laddr, paddr, transportp); in __sctp_rcv_lookup()
1345 if (paddr->sa.sa_family == AF_INET) in __sctp_rcv_lookup()
1348 &paddr->v4.sin_addr, ntohs(paddr->v4.sin_port)); in __sctp_rcv_lookup()
1352 &paddr->v6.sin6_addr, ntohs(paddr->v6.sin6_port)); in __sctp_rcv_lookup()