Searched defs:fport (Results 1 - 9 of 9) sorted by relevance

/external/qemu/slirp/
H A Dmisc.h53 u_int16_t fport; member in struct:tos_t
60 u_int16_t fport; member in struct:emu_t
H A Dsocket.c28 struct in_addr faddr, u_int fport)
36 so->so_fport == fport)
27 solookup(struct socket *head, struct in_addr laddr, u_int lport, struct in_addr faddr, u_int fport) argument
H A 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);
[all...]
H A Dslirp.c739 struct in_addr *faddr, u_int fport),
754 struct in_addr *faddr, u_int fport),
768 int fport = htons(host_port); local
773 if (so->so_fport == fport) {
737 _slirp_redir_loop(void (*func)(void *opaque, int is_udp, struct in_addr *laddr, u_int lport, struct in_addr *faddr, u_int fport), void *opaque, int is_udp) argument
752 slirp_redir_loop(void (*func)(void *opaque, int is_udp, struct in_addr *laddr, u_int lport, struct in_addr *faddr, u_int fport), void *opaque) argument
/external/qemu/slirp-android/
H A Dmisc.h53 u_int16_t fport; member in struct:tos_t
60 u_int16_t fport; member in struct:emu_t
H A Dsocket.c33 uint32_t faddr, u_int fport)
41 so->so_faddr_port == fport)
578 int fport = addr_port; local
580 if (slirp_should_net_forward(faddr, fport, &faddr, &fport)) {
587 faddr, fport, timestamp
591 addr_port = fport;
32 solookup(struct socket *head, uint32_t laddr, u_int lport, uint32_t faddr, u_int fport) argument
H A 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);
[all...]
H A Dtcp_subr.c492 int fport; local
496 /* faddr and fport are modified only on success */
498 &faddr, &fport)) {
501 sock_port= fport; /* forced dst port */
717 if ((tcptos[i].fport && so->so_faddr_port == tcptos[i].fport) ||
727 if ((emup->fport && (so->so_faddr_port == emup->fport)) ||
/external/qemu/
H A Dnet.c745 struct in_addr *faddr, u_int fport)
761 monitor_printf(mon, " %5d |", fport);
743 net_slirp_redir_print(void *opaque, int is_udp, struct in_addr *laddr, u_int lport, struct in_addr *faddr, u_int fport) argument

Completed in 463 milliseconds