Lines Matching refs:guest_addr
1539 uint32_t guest_addr; /* need to understand if we already give address to guest */
1544 guest_addr = find_guest_ip(pData, pu8EthSource);
1545 if (guest_addr == INADDR_ANY)
1551 if ( rule->guest_addr.s_addr != guest_addr
1552 && rule->guest_addr.s_addr != INADDR_ANY)
1554 if (rule->guest_addr.s_addr == INADDR_ANY)
1555 rule->guest_addr.s_addr = guest_addr;
1560 guest_addr, rule->guest_port));
1563 so = udp_listen(pData, rule->bind_ip.s_addr, RT_H2N_U16(rule->host_port), guest_addr,
1566 so = solisten(pData, rule->bind_ip.s_addr, RT_H2N_U16(rule->host_port), guest_addr,
1591 guest_addr, rule->guest_port));
1611 struct in_addr guest_addr, int guest_port, const uint8_t *ethaddr)
1620 && rule->guest_addr.s_addr == guest_addr.s_addr
1632 rule->guest_addr.s_addr = guest_addr.s_addr;
1647 struct in_addr guest_addr, int guest_port)
1656 && rule->guest_addr.s_addr == guest_addr.s_addr
1662 guest_addr.s_addr, rule->guest_port));
2088 rule->host_port, rule->guest_addr.s_addr, rule->guest_port,