Lines Matching refs:pcbinfo
58 in6_pcbgroup_getbucket(struct inpcbinfo *pcbinfo, uint32_t hash)
64 return (hash % pcbinfo->ipi_npcbgroups);
75 in6_pcbgroup_byhash(struct inpcbinfo *pcbinfo, u_int hashtype, uint32_t hash)
79 if ((pcbinfo->ipi_hashfields == IPI_HASHFIELDS_4TUPLE &&
81 (pcbinfo->ipi_hashfields == IPI_HASHFIELDS_4TUPLE &&
83 (pcbinfo->ipi_hashfields == IPI_HASHFIELDS_2TUPLE &&
85 return (&pcbinfo->ipi_pcbgroups[
86 in6_pcbgroup_getbucket(pcbinfo, hash)]);
92 in6_pcbgroup_bymbuf(struct inpcbinfo *pcbinfo, struct mbuf *m)
95 return (in6_pcbgroup_byhash(pcbinfo, M_HASHTYPE_GET(m),
100 in6_pcbgroup_bytuple(struct inpcbinfo *pcbinfo, const struct in6_addr *laddrp,
110 switch (pcbinfo->ipi_hashfields) {
130 return (&pcbinfo->ipi_pcbgroups[in6_pcbgroup_getbucket(pcbinfo,