Lines Matching defs:pcbinfo
56 in6_pcbgroup_getbucket(struct inpcbinfo *pcbinfo, uint32_t hash)
62 return (hash % pcbinfo->ipi_npcbgroups);
73 in6_pcbgroup_byhash(struct inpcbinfo *pcbinfo, u_int hashtype, uint32_t hash)
77 if ((pcbinfo->ipi_hashfields == IPI_HASHFIELDS_4TUPLE &&
79 (pcbinfo->ipi_hashfields == IPI_HASHFIELDS_4TUPLE &&
81 (pcbinfo->ipi_hashfields == IPI_HASHFIELDS_2TUPLE &&
83 return (&pcbinfo->ipi_pcbgroups[
84 in6_pcbgroup_getbucket(pcbinfo, hash)]);
90 in6_pcbgroup_bymbuf(struct inpcbinfo *pcbinfo, struct mbuf *m)
93 return (in6_pcbgroup_byhash(pcbinfo, M_HASHTYPE_GET(m),
98 in6_pcbgroup_bytuple(struct inpcbinfo *pcbinfo, const struct in6_addr *laddrp,
108 switch (pcbinfo->ipi_hashfields) {
128 return (&pcbinfo->ipi_pcbgroups[in6_pcbgroup_getbucket(pcbinfo,