Home
last modified time | relevance | path

Searched refs:fport (Results 1 – 15 of 15) sorted by relevance

/external/qemu/slirp/
Dmisc.c634 u_int lport, fport; local
646 if (sscanf(buff1, "%d:%d", &lport, &fport) != 2) {
648 if (sscanf(buff1, "%d", &fport) != 1) {
686 if (emup->lport == lport && emup->fport == fport) {
695 emup->fport = (u_int16_t)fport;
704 (fport && fport == ntohs(so->so_fport))) {
712 lprint("Adding emulation for %s to port %d/%d\r\n", buff1, emup->lport, emup->fport);
Dmisc.h53 u_int16_t fport; member
60 u_int16_t fport; member
Dlibslirp.h23 struct in_addr *faddr, u_int fport),
Dtcp_subr.c561 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()
Dslirp.c739 struct in_addr *faddr, u_int fport), in _slirp_redir_loop() argument
754 struct in_addr *faddr, u_int fport), in slirp_redir_loop() argument
768 int fport = htons(host_port); in slirp_redir_rm() local
773 if (so->so_fport == fport) { in slirp_redir_rm()
Dudp.c385 if ((udptos[i].fport && ntohs(so->so_fport) == udptos[i].fport) || in udp_tos()
Dsocket.c28 struct in_addr faddr, u_int fport) in solookup() argument
36 so->so_fport == fport) in solookup()
/external/qemu/slirp-android/
Dmisc.c598 u_int lport, fport; local
610 if (sscanf(buff1, "%d:%d", &lport, &fport) != 2) {
612 if (sscanf(buff1, "%d", &fport) != 1) {
650 if (emup->lport == lport && emup->fport == fport) {
659 emup->fport = (u_int16_t)fport;
668 (fport && fport == so->so_faddr_port)) {
676 lprint("Adding emulation for %s to port %d/%d\r\n", buff1, emup->lport, emup->fport);
Dmisc.h53 u_int16_t fport; member
60 u_int16_t fport; member
Dsocket.c33 uint32_t faddr, u_int fport) in solookup() argument
41 so->so_faddr_port == fport) in solookup()
578 int fport = addr_port; in sosendto() local
580 if (slirp_should_net_forward(faddr, fport, &faddr, &fport)) { in sosendto()
587 faddr, fport, timestamp in sosendto()
591 addr_port = fport; in sosendto()
Dtcp_subr.c492 int fport; in tcp_fconnect() local
498 &faddr, &fport)) { in tcp_fconnect()
501 sock_port= fport; /* forced dst port */ in tcp_fconnect()
717 if ((tcptos[i].fport && so->so_faddr_port == tcptos[i].fport) || in tcp_tos()
727 if ((emup->fport && (so->so_faddr_port == emup->fport)) || in tcp_tos()
Dudp.c429 if ((udptos[i].fport && so->so_faddr_port == udptos[i].fport) || in udp_tos()
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_inpcb.h273 #define INP_PCBHASH(faddr, lport, fport, mask) \ argument
274 (((faddr) ^ ((faddr) >> 16) ^ ntohs((lport) ^ (fport))) & (mask))
/external/kernel-headers/original/uapi/linux/
Drds.h124 __be16 fport; member
/external/qemu/net/
Dnet.c745 struct in_addr *faddr, u_int fport) in net_slirp_redir_print() argument
761 monitor_printf(mon, " %5d |", fport); in net_slirp_redir_print()