Home
last modified time | relevance | path

Searched refs:so_lport (Results 1 – 9 of 9) sorted by relevance

/external/qemu/slirp/
Dtcp_subr.c77 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()
Dudp.c169 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()
Dsocket.h35 u_int16_t so_lport; /* local port */ member
Ddebug.c315 inet_ntoa(so->so_laddr), ntohs(so->so_lport)); in sockstats()
329 inet_ntoa(so->so_laddr), ntohs(so->so_lport)); in sockstats()
Dsocket.c33 if (so->so_lport == lport && in solookup()
627 so->so_lport = lport; /* Kept in network format */ in solisten()
Dslirp.c747 &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()
Dip_icmp.c130 so->so_lport = htons(9); in icmp_input()
Dtcp_input.c376 so->so_lport != ti->ti_sport || in tcp_input()
417 so->so_lport = ti->ti_sport; in tcp_input()
Dmisc.c703 if ((lport && lport == ntohs(so->so_lport)) ||