Lines Matching refs:lport
431 u_short lport = 0, rand_port = 0;
464 lport = sin->sin_port;
490 if (lport) {
495 if (ntohs(lport) < IPPORT_RESERVED) {
509 sin->sin_addr, lport, INPLOOKUP_WILDCARD);
529 in_pcb_conflict_post_msg(lport);
539 lport, wild);
559 in_pcb_conflict_post_msg(lport);
571 if (lport == 0) {
633 lport = htons(*lastport);
635 inp->inp_laddr, lport, wild));
657 lport = htons(*lastport);
659 inp->inp_laddr, lport, wild));
663 inp->inp_lport = lport;
1272 u_short lport = lport_arg;
1282 head = &pcbinfo->hashbase[INP_PCBHASH(INADDR_ANY, lport, 0, pcbinfo->hashmask)];
1290 inp->inp_lport == lport) {
1312 porthash = &pcbinfo->porthashbase[INP_PCBPORTHASH(lport,
1315 if (phd->phd_port == lport)
1371 u_short fport = fport_arg, lport = lport_arg;
1386 head = &pcbinfo->hashbase[INP_PCBHASH(faddr.s_addr, lport, fport,
1401 inp->inp_lport == lport) {
1421 head = &pcbinfo->hashbase[INP_PCBHASH(INADDR_ANY, lport, 0,
1434 inp->inp_lport == lport) {
1507 u_short fport = fport_arg, lport = lport_arg;
1518 head = &pcbinfo->hashbase[INP_PCBHASH(faddr.s_addr, lport, fport, pcbinfo->hashmask)];
1532 inp->inp_lport == lport) {
1552 head = &pcbinfo->hashbase[INP_PCBHASH(INADDR_ANY, lport, 0, pcbinfo->hashmask)];
1564 inp->inp_lport == lport) {
1660 * Go through port list and look for a head for this lport.
1693 * changed. NOTE: This does not handle the case of the lport changing (the
1694 * hashed port list would have to be updated as well), so the lport must