/external/qemu/slirp-android/ |
D | tcp_subr.c | 718 (tcptos[i].lport && so->so_laddr_port == tcptos[i].lport)) { in tcp_tos() 728 (emup->lport && (so->so_laddr_port == emup->lport))) { in tcp_tos() 770 u_int lport; in tcp_emu() local 830 lport = (n5 << 8) | (n6); in tcp_emu() 832 if ((so = solisten(0, laddr, lport, SS_FACCEPTONCE)) == NULL) in tcp_emu() 862 lport = (n5 << 8) | (n6); in tcp_emu() 864 if ((so = solisten(0, laddr, lport, SS_FACCEPTONCE)) == NULL) in tcp_emu() 897 for (lport = 0, i = 0; i < m->m_len-1; ++i) { in tcp_emu() 900 lport *= 10; in tcp_emu() 901 lport += m->m_data[i] - '0'; in tcp_emu() [all …]
|
D | misc.c | 598 u_int lport, fport; local 610 if (sscanf(buff1, "%d:%d", &lport, &fport) != 2) { 611 lport = 0; 650 if (emup->lport == lport && emup->fport == fport) { 658 emup->lport = (u_int16_t)lport; 667 if ((lport && lport == so->so_laddr_port) || 676 lprint("Adding emulation for %s to port %d/%d\r\n", buff1, emup->lport, emup->fport);
|
D | misc.h | 52 u_int16_t lport; member 59 u_int16_t lport; member
|
D | udp.c | 430 (udptos[i].lport && so->so_laddr_port == udptos[i].lport)) { in udp_tos() 486 udp_listen(u_int port, u_int32_t laddr, u_int lport, int flags) in udp_listen() argument 516 so->so_laddr_port = lport; in udp_listen()
|
D | socket.c | 32 solookup(struct socket *head, uint32_t laddr, u_int lport, in solookup() argument 38 if (so->so_laddr_port == lport && in solookup() 617 solisten(u_int port, u_int32_t laddr, u_int lport, int flags) in solisten() argument 627 DEBUG_ARG("lport = %d", lport); in solisten() 649 so->so_laddr_port = lport; /* Kept in host format */ in solisten()
|
/external/iptables/extensions/ |
D | libxt_TPROXY.c | 24 .flags = XTOPT_MAND | XTOPT_NBO | XTOPT_PUT, XTOPT_POINTER(s, lport)}, 33 .flags = XTOPT_MAND | XTOPT_NBO | XTOPT_PUT, XTOPT_POINTER(s, lport)}, 56 ntohs(info->lport), (unsigned int)info->mark_value, in tproxy_tg_print() 69 ntohs(info->lport), (unsigned int)info->mark_value, in tproxy_tg_print4() 82 ntohs(info->lport), (unsigned int)info->mark_value, in tproxy_tg_print6() 90 printf(" --on-port %u", ntohs(info->lport)); in tproxy_tg_save() 103 printf(" --on-port %u", ntohs(info->lport)); in tproxy_tg_save4() 115 printf(" --on-port %u", ntohs(info->lport)); in tproxy_tg_save6()
|
/external/qemu/slirp/ |
D | tcp_subr.c | 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() 615 u_int lport; in tcp_emu() local 975 lport = htons((n5 << 8) | (n6)); in tcp_emu() 977 if ((so = solisten(0, laddr, lport, SS_FACCEPTONCE)) == NULL) in tcp_emu() 1007 lport = htons((n5 << 8) | (n6)); in tcp_emu() 1009 if ((so = solisten(0, laddr, lport, SS_FACCEPTONCE)) == NULL) in tcp_emu() 1042 for (lport = 0, i = 0; i < m->m_len-1; ++i) { in tcp_emu() 1045 lport *= 10; in tcp_emu() 1046 lport += m->m_data[i] - '0'; in tcp_emu() [all …]
|
D | misc.c | 634 u_int lport, fport; local 646 if (sscanf(buff1, "%d:%d", &lport, &fport) != 2) { 647 lport = 0; 686 if (emup->lport == lport && emup->fport == fport) { 694 emup->lport = (u_int16_t)lport; 703 if ((lport && lport == ntohs(so->so_lport)) || 712 lprint("Adding emulation for %s to port %d/%d\r\n", buff1, emup->lport, emup->fport);
|
D | misc.h | 52 u_int16_t lport; member 59 u_int16_t lport; member
|
D | socket.c | 27 solookup(struct socket *head, struct in_addr laddr, u_int lport, in solookup() argument 33 if (so->so_lport == lport && in solookup() 595 solisten(u_int port, u_int32_t laddr, u_int lport, int flags) in solisten() argument 605 DEBUG_ARG("lport = %d", lport); in solisten() 627 so->so_lport = lport; /* Kept in network format */ in solisten()
|
D | libslirp.h | 22 struct in_addr *laddr, u_int lport,
|
D | udp.c | 386 (udptos[i].lport && ntohs(so->so_lport) == udptos[i].lport)) { in udp_tos() 630 udp_listen(u_int port, u_int32_t laddr, u_int lport, int flags) in udp_listen() argument 662 so->so_lport = lport; in udp_listen()
|
D | slirp.c | 738 struct in_addr *laddr, u_int lport, in _slirp_redir_loop() argument 753 struct in_addr *laddr, u_int lport, in slirp_redir_loop() argument
|
/external/iptables/include/linux/netfilter/ |
D | xt_TPROXY.h | 11 __be16 lport; member 18 __be16 lport; member
|
/external/iproute2/misc/ |
D | ss.c | 427 int lport; member 707 return s->lport == 0 && s->local.data == 0; in run_ssfilter() 709 return s->lport < 0; in run_ssfilter() 718 return s->lport >= low && s->lport <= high; in run_ssfilter() 741 if (a->port != -1 && a->port != s->lport) in run_ssfilter() 765 return s->lport >= a->port; in run_ssfilter() 770 return s->lport <= a->port; in run_ssfilter() 1191 sscanf(loc, "%x:%x", s.local.data, (unsigned*)&s.lport); in tcp_show_line() 1200 &s.lport); in tcp_show_line() 1237 formatted_print(&s.local, s.lport); in tcp_show_line() [all …]
|
/external/qemu/ |
D | vl-android.c | 2342 int parse_port_range(const char *str, unsigned short *lport, in parse_port_range() argument 2353 *lport = low; in parse_port_range() 2360 *lport = low; in parse_port_range()
|
D | net.c | 744 struct in_addr *laddr, u_int lport, in net_slirp_redir_print() argument 768 monitor_printf(mon, " %5d\n", lport); in net_slirp_redir_print()
|