Searched refs:so_lport (Results 1 – 9 of 9) sorted by relevance
77 n->ti_dport = so->so_lport; in tcp_template()460 so->so_lport = inso->so_lport; in tcp_connect()562 (tcptos[i].lport && (ntohs(so->so_lport) == tcptos[i].lport))) { in tcp_tos()572 (emup->lport && (ntohs(so->so_lport) == emup->lport))) { in tcp_tos()647 tmpso->so_lport == n2 && in tcp_emu()683 if (ntohs(so->so_lport) > 1023 || ntohs(so->so_lport) < 512 || in tcp_emu()767 if (ntohs(so->so_lport) > 1023 || ntohs(so->so_lport) < 512 || in tcp_emu()811 ns->so_lport=htons(port); in tcp_emu()
169 if (so->so_lport != uh->uh_sport || in udp_input()174 if (tmp->so_lport == uh->uh_sport && in udp_input()208 so->so_lport = uh->uh_sport; in udp_input()325 daddr.sin_port = so->so_lport; in udp_output()386 (udptos[i].lport && ntohs(so->so_lport) == udptos[i].lport)) { in udp_tos()662 so->so_lport = lport; in udp_listen()
35 u_int16_t so_lport; /* local port */ member
315 inet_ntoa(so->so_laddr), ntohs(so->so_lport)); in sockstats()329 inet_ntoa(so->so_laddr), ntohs(so->so_lport)); in sockstats()
33 if (so->so_lport == lport && in solookup()627 so->so_lport = lport; /* Kept in network format */ in solisten()
747 &so->so_laddr, ntohs(so->so_lport), in _slirp_redir_loop()932 qemu_put_be16(f, so->so_lport); in slirp_socket_save()1039 so->so_lport = qemu_get_be16(f); in slirp_socket_load()
130 so->so_lport = htons(9); in icmp_input()
376 so->so_lport != ti->ti_sport || in tcp_input()417 so->so_lport = ti->ti_sport; in tcp_input()
703 if ((lport && lport == ntohs(so->so_lport)) ||