Home
last modified time | relevance | path

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

/external/qemu/slirp-android/
Dtcp_subr.c78 n->ti_sport = port_seth(so->so_faddr_port); in tcp_template()
432 if (slirp_should_drop(so->so_faddr_ip, so->so_faddr_port, IPPROTO_TCP)) { in tcp_fconnect()
442 so->so_faddr_port, in tcp_fconnect()
453 so->so_faddr_port, in tcp_fconnect()
466 so->so_faddr_port, in tcp_fconnect()
497 if (slirp_should_net_forward(so->so_faddr_ip, so->so_faddr_port, in tcp_fconnect()
516 sock_port= so->so_faddr_port;/* original dst port */ in tcp_fconnect()
525 sock_port= so->so_faddr_port; /* original dst port */ in tcp_fconnect()
630 so->so_faddr_port = sock_address_get_port(&addr); in tcp_connect()
717 if ((tcptos[i].fport && so->so_faddr_port == tcptos[i].fport) || in tcp_tos()
[all …]
Dudp.c227 tmp->so_faddr_port = port_geth(uh->uh_dport); in udp_input()
270 so->so_faddr_port = port_geth(uh->uh_dport); /* XXX */ in udp_input()
361 if (so != NULL && so->so_faddr_port == 53) { /*so has host byte order */ in udp_output2_()
429 if ((udptos[i].fport && so->so_faddr_port == udptos[i].fport) || in udp_tos()
508 so->so_faddr_port = sock_address_get_port(&addr); in udp_listen()
Dsocket.c41 so->so_faddr_port == fport) in solookup()
524 if (so->so_faddr_port == 53) in sorecvfrom()
571 addr_port = so->so_faddr_port; in sosendto()
659 so->so_faddr_port = sock_address_get_port(&addr); in solisten()
Dslirp.c1142 sock_address_init_inet(&foreign, so->so_faddr_ip, so->so_faddr_port); in _slirp_redir_loop()
1168 if (so->so_faddr_port == host_port) { in slirp_redir_rm()
1226 && ((so->so_faddr_port & 0xff) == in slirp_find_ctl_socket()
1228 && so->so_faddr_port == guest_port) in slirp_find_ctl_socket()
1334 qemu_put_be16(f, so->so_faddr_port); in slirp_socket_save()
1441 so->so_faddr_port = qemu_get_be16(f); in slirp_socket_load()
1479 so->so_faddr_port == ex_ptr->ex_fport) in slirp_state_load()
Dsocket.h34 uint16_t so_faddr_port; member
Dip_icmp.c132 so->so_faddr_port = 7; in icmp_input()
151 addr_port = so->so_faddr_port; in icmp_input()
Ddebug.c289 inet_iptostr(so->so_faddr_ip), so->so_faddr_port,
303 inet_iptostr(so->so_faddr_ip), so->so_faddr_port,
Dtcp_input.c381 if (so->so_faddr_port != dstport || in tcp_input()
424 so->so_faddr_port = port_geth(ti->ti_dport); in tcp_input()
659 if(ex_ptr->ex_fport == so->so_faddr_port && in tcp_input()
Dmisc.c668 (fport && fport == so->so_faddr_port)) {