Searched refs:sdom (Results 1 - 7 of 7) sorted by relevance

/vbox/src/VBox/NetworkServices/NAT/
H A Dportfwd.c148 fwspec_set(struct fwspec *fwspec, int sdom, int stype, argument
156 LWIP_ASSERT1(sdom == PF_INET || sdom == PF_INET6);
159 fwspec->sdom = sdom;
163 hints.ai_family = (sdom == PF_INET) ? AF_INET : AF_INET6;
189 if (sdom == PF_INET) {
208 if (a->sdom != b->sdom || a->stype != b->stype) {
212 if (a->sdom
[all...]
H A Dportfwd.h31 int sdom; /* PF_INET, PF_INET6 */ member in struct:fwspec
37 struct sockaddr_in sin; /* sdom == PF_INET */
38 struct sockaddr_in6 sin6; /* sdom == PF_INET6 */
44 struct sockaddr_in sin; /* sdom == PF_INET */
45 struct sockaddr_in6 sin6; /* sdom == PF_INET6 */
H A Dproxy.c281 proxy_create_socket(int sdom, int stype) argument
314 s = socket(sdom, stype_and_flags, 0);
407 proxy_connected_socket(int sdom, int stype, argument
421 LWIP_ASSERT1(sdom == PF_INET || sdom == PF_INET6);
425 if (sdom == PF_INET6) {
440 else { /* sdom = PF_INET */
456 s = proxy_create_socket(sdom, stype);
463 if (sdom == PF_INET6) {
514 proxy_bound_socket(int sdom, in argument
[all...]
H A Dfwudp.c187 sock = proxy_bound_socket(fwspec->sdom, fwspec->stype, &fwspec->src.sa);
206 if (fwspec->sdom == PF_INET) {
378 isv6 = (fwudp->fwspec.sdom == PF_INET6);
485 if (fwudp->fwspec.sdom == PF_INET) {
H A Dpxudp.c499 int sdom; local
520 sdom = PCB_ISIPV6(newpcb) ? PF_INET6 : PF_INET;
532 sdom = PF_INET;
537 sock = proxy_connected_socket(sdom, SOCK_DGRAM,
H A Dfwtcp.c160 lsock = proxy_bound_socket(fwspec->sdom, fwspec->stype, &fwspec->src.sa);
H A Dpxtcp.c1003 int sdom; local
1025 sdom = PCB_ISIPV6(newpcb) ? PF_INET6 : PF_INET;
1026 sock = proxy_connected_socket(sdom, SOCK_STREAM,
1275 LWIP_ASSERT1(ss.ss_family == fwspec->sdom);

Completed in 236 milliseconds