Lines Matching defs:lport

116 	u_short	lport = 0;
150 lport = sin6->sin6_port;
186 if (lport) {
191 if (ntohs(lport) <= V_ipport_reservedhigh &&
192 ntohs(lport) >= V_ipport_reservedlow &&
200 &sin6->sin6_addr, lport,
219 sin.sin_addr, lport,
234 lport, lookupflags, cred);
256 lport, lookupflags, cred);
277 if (lport == 0) {
284 inp->inp_lport = lport;
580 u_short fport = fport_arg, lport = lport_arg;
607 lport = 0;
646 if (lport == 0 && fport == 0 && flowinfo &&
654 (lport && inp->inp_lport != lport) ||
679 u_short lport, int lookupflags, struct ucred *cred)
695 head = &pcbinfo->ipi_hashbase[INP_PCBHASH(INADDR_ANY, lport,
703 inp->inp_lport == lport) {
725 porthash = &pcbinfo->ipi_porthashbase[INP_PCBPORTHASH(lport,
728 if (phd->phd_port == lport)
851 u_short fport = fport_arg, lport = lport_arg;
865 INP_PCBHASH(faddr->s6_addr32[3] /* XXX */, lport, fport,
874 inp->inp_lport == lport) {
906 head = &pcbinfo->ipi_wildbase[INP_PCBHASH(INADDR_ANY, lport,
914 inp->inp_lport != lport) {
985 u_short fport = fport_arg, lport = lport_arg;
1003 INP_PCBHASH(faddr->s6_addr32[3] /* XXX */, lport, fport,
1012 inp->inp_lport == lport) {
1042 head = &pcbinfo->ipi_hashbase[INP_PCBHASH(INADDR_ANY, lport,
1050 inp->inp_lport != lport) {
1102 u_int fport, struct in6_addr *laddr, u_int lport, int lookupflags,
1108 inp = in6_pcblookup_hash_locked(pcbinfo, faddr, fport, laddr, lport,
1136 struct in6_addr *laddr, u_int lport, int lookupflags, struct ifnet *ifp)
1149 pcbgroup = in6_pcbgroup_bytuple(pcbinfo, laddr, lport, faddr,
1152 laddr, lport, lookupflags, ifp));
1155 return (in6_pcblookup_hash(pcbinfo, faddr, fport, laddr, lport,
1161 u_int fport, struct in6_addr *laddr, u_int lport, int lookupflags,
1179 fport, laddr, lport, lookupflags, ifp));
1180 pcbgroup = in6_pcbgroup_bytuple(pcbinfo, laddr, lport, faddr,
1183 laddr, lport, lookupflags, ifp));
1186 return (in6_pcblookup_hash(pcbinfo, faddr, fport, laddr, lport,