Home
last modified time | relevance | path

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

/external/qemu/slirp/
Dtcp_subr.c76 n->ti_sport = so->so_fport; in tcp_template()
400 addr.sin_port = so->so_fport; in tcp_fconnect()
477 so->so_fport = addr.sin_port; in tcp_connect()
561 if ((tcptos[i].fport && (ntohs(so->so_fport) == tcptos[i].fport)) || in tcp_tos()
571 if ((emup->fport && (ntohs(so->so_fport) == emup->fport)) || in tcp_tos()
649 tmpso->so_fport == n1) { in tcp_emu()
816 ns->so_fport=htons(IPPORT_RESERVED-1); /* Use a fake port. */ in tcp_emu()
980 n6 = ntohs(so->so_fport); in tcp_emu()
1012 n6 = ntohs(so->so_fport); in tcp_emu()
1051 ntohs(so->so_fport)) + 1; in tcp_emu()
[all …]
Dslirp.c748 &so->so_faddr, ntohs(so->so_fport)); in _slirp_redir_loop()
773 if (so->so_fport == fport) { in slirp_redir_rm()
825 && htons(so->so_fport) == guest_port) in slirp_find_ctl_socket()
931 qemu_put_be16(f, so->so_fport); in slirp_socket_save()
1038 so->so_fport = qemu_get_be16(f); in slirp_socket_load()
1076 so->so_fport == ex_ptr->ex_fport) in slirp_state_load()
Dudp.c177 tmp->so_fport = uh->uh_dport; in udp_input()
220 so->so_fport = uh->uh_dport; /* XXX */ in udp_input()
385 if ((udptos[i].fport && ntohs(so->so_fport) == udptos[i].fport) || in udp_tos()
656 so->so_fport = addr.sin_port; in udp_listen()
Dsocket.c36 so->so_fport == fport) in solookup()
523 if (so->so_fport == htons(53)) in sorecvfrom()
571 addr.sin_port = so->so_fport; in sosendto()
653 so->so_fport = addr.sin_port; in solisten()
Dip_icmp.c128 so->so_fport = htons(7); in icmp_input()
151 addr.sin_port = so->so_fport; in icmp_input()
Dsocket.h34 u_int16_t so_fport; /* foreign port */ member
Ddebug.c317 inet_ntoa(so->so_faddr), ntohs(so->so_fport), in sockstats()
331 inet_ntoa(so->so_faddr), ntohs(so->so_fport), in sockstats()
Dtcp_input.c375 if (so->so_fport != ti->ti_dport || in tcp_input()
419 so->so_fport = ti->ti_dport; in tcp_input()
654 if(ex_ptr->ex_fport == so->so_fport && in tcp_input()
Dmisc.c704 (fport && fport == ntohs(so->so_fport))) {