Lines Matching refs:lport
718 (tcptos[i].lport && so->so_laddr_port == tcptos[i].lport)) {
728 (emup->lport && (so->so_laddr_port == emup->lport))) {
770 u_int lport;
830 lport = (n5 << 8) | (n6);
832 if ((so = solisten(0, laddr, lport, SS_FACCEPTONCE)) == NULL)
862 lport = (n5 << 8) | (n6);
864 if ((so = solisten(0, laddr, lport, SS_FACCEPTONCE)) == NULL)
897 for (lport = 0, i = 0; i < m->m_len-1; ++i) {
900 lport *= 10;
901 lport += m->m_data[i] - '0';
903 if (m->m_data[m->m_len-1] == '\0' && lport != 0 &&
904 (so = solisten(0, so->so_laddr_ip, lport, SS_FACCEPTONCE)) != NULL)
918 if (sscanf(bptr, "DCC CHAT %256s %u %u", buff, &laddr, &lport) == 3) {
919 if ((so = solisten(0, laddr, lport, SS_FACCEPTONCE)) == NULL)
927 } else if (sscanf(bptr, "DCC SEND %256s %u %u %u", buff, &laddr, &lport, &n1) == 4) {
928 if ((so = solisten(0, laddr, lport, SS_FACCEPTONCE)) == NULL)
935 } else if (sscanf(bptr, "DCC MOVE %256s %u %u %u", buff, &laddr, &lport, &n1) == 4) {
936 if ((so = solisten(0, laddr, lport, SS_FACCEPTONCE)) == NULL)
1042 lport = (((u_char*)bptr)[0] << 8)
1044 if (lport < 6970)
1045 lport += 256; /* don't know why */
1046 if (lport < 6970 || lport > 7170)
1053 lport,