Lines Matching defs:lport

119 	u_int16_t lport = 0;
139 error = in_pcb_lport(inp, NULL, &lport, cred, lookupflags);
143 inp->inp_lport = lport;
158 u_short lport = 0;
192 lport = sin6->sin6_port;
237 if (lport) {
241 if (ntohs(lport) <= V_ipport_reservedhigh &&
242 ntohs(lport) >= V_ipport_reservedlow &&
248 &sin6->sin6_addr, lport,
268 sin.sin_addr, lport,
281 lport, lookupflags, cred);
293 lport, lookupflags, cred);
306 if (lport == 0) {
313 inp->inp_lport = lport;
622 u_short fport = fport_arg, lport = lport_arg;
653 if (lport == 0 && fport == 0 && flowinfo &&
661 (lport && inp->inp_lport != lport) ||
681 u_short lport, int lookupflags, struct ucred *cred)
697 head = &pcbinfo->ipi_hash_wild[INP_PCBHASH_WILD(lport,
705 inp->inp_lport == lport) {
726 porthash = &pcbinfo->ipi_porthashbase[INP_PCBPORTHASH(lport,
729 if (phd->phd_port == lport)
854 uint16_t lport, uint8_t domain)
863 INP_PCBPORTHASH(lport, pcbinfo->ipi_lbgrouphashmask)];
879 if (grp->il_lport != lport)
920 return (grp->il_inp[INP6_PCBLBGROUP_PKTHASH(faddr, lport, fport) %
926 u_short fport, const struct in6_addr *laddr, u_short lport)
933 inp->inp_fport == fport && inp->inp_lport == lport)
941 const struct in6_addr *laddr, u_short lport)
951 head = &pcbinfo->ipi_hash_exact[INP6_PCBHASH(faddr, lport, fport,
954 if (in6_pcblookup_exact_match(inp, faddr, fport, laddr, lport))
968 u_short lport)
974 inp->inp_lport != lport)
988 u_short lport, const inp_lookup_t lockflags)
996 head = &pcbinfo->ipi_hash_wild[INP_PCBHASH_WILD(lport,
1001 match = in6_pcblookup_wild_match(inp, laddr, lport);
1006 match = in6_pcblookup_wild_match(inp, laddr, lport);
1026 u_short lport)
1040 head = &pcbinfo->ipi_hash_wild[INP_PCBHASH_WILD(lport,
1047 match = in6_pcblookup_wild_match(inp, laddr, lport);
1090 u_short fport = fport_arg, lport = lport_arg;
1100 inp = in6_pcblookup_hash_exact(pcbinfo, faddr, fport, laddr, lport);
1106 lport, numa_domain);
1109 fport, laddr, lport);
1117 u_int fport, const struct in6_addr *laddr, u_int lport, int lookupflags,
1127 inp = in6_pcblookup_hash_locked(pcbinfo, faddr, fport, laddr, lport,
1149 const u_short fport = fport_arg, lport = lport_arg;
1157 inp = in6_pcblookup_hash_exact(pcbinfo, faddr, fport, laddr, lport);
1161 faddr, fport, laddr, lport)))
1169 return (in6_pcblookup_hash(pcbinfo, faddr, fport, laddr, lport,
1175 laddr, lport, numa_domain);
1179 laddr, lport) != INPLOOKUP_MATCH_NONE))
1186 laddr, lport, lockflags);
1190 lport, lookupflags, numa_domain));
1206 struct in6_addr *laddr, u_int lport, int lookupflags,
1209 return (in6_pcblookup_hash_smr(pcbinfo, faddr, fport, laddr, lport,
1215 u_int fport, struct in6_addr *laddr, u_int lport, int lookupflags,
1218 return (in6_pcblookup_hash_smr(pcbinfo, faddr, fport, laddr, lport,