/haiku/headers/posix/net/ |
H A D | route.h | 29 struct sockaddr *gateway; member in struct:route_entry
|
/haiku/src/kits/network/libnetapi/ |
H A D | NetworkRoute.cpp | 51 SET_ADDRESS(gateway, SetGateway) 120 return fRouteEntry.gateway; 125 BNetworkRoute::SetGateway(const sockaddr& gateway) argument 127 return _AllocateAndSetAddress(gateway, fRouteEntry.gateway); 134 _FreeAndUnsetAddress(fRouteEntry.gateway); 198 RETURN_FAMILY_IF_SET(gateway) 224 sockaddr& gateway) 235 memcpy(&gateway, defaultGateway, defaultGateway->sa_len); 317 if (routeEntry.gateway ! 223 GetDefaultGateway(int family, const char* interfaceName, sockaddr& gateway) argument [all...] |
H A D | NetworkInterface.cpp | 500 BNetworkInterface::AddDefaultRoute(const BNetworkAddress& gateway) argument 503 status_t result = route.SetGateway(gateway); 557 BNetworkInterface::GetDefaultGateway(int family, BNetworkAddress& gateway) const 559 return BNetworkRoute::GetDefaultGateway(family, Name(), gateway);
|
/haiku/src/bin/network/route/ |
H A D | route.cpp | 87 " gw <addr> - gateway address\n" 241 BNetworkAddress gateway; local 242 if (route.gateway != NULL) 243 gateway.SetTo(*route.gateway); 244 printf("%*s ", addressLength, gateway.ToString().String()); 282 if (route.gateway != NULL) 283 addressSize += route.gateway->sa_len; 358 BNetworkAddress gateway(*request.gateway); 413 BNetworkAddress gateway; local [all...] |
/haiku/headers/os/net/ |
H A D | NetworkRoute.h | 34 status_t SetGateway(const sockaddr& gateway); 54 sockaddr& gateway);
|
H A D | NetworkInterface.h | 105 status_t AddDefaultRoute(const BNetworkAddress& gateway); 115 BNetworkAddress& gateway) const;
|
/haiku/src/add-ons/kernel/network/stack/ |
H A D | routes.cpp | 42 destination = mask = gateway = NULL; 50 free(gateway); 129 && domain->address_module->equal_addresses(route->gateway, 130 description->gateway) 278 target->gateway = copy_address(buffer, route->gateway); 308 if (route->gateway) 309 size += route->gateway->sa_len; 341 sockaddr* gateway = NULL; local 354 if (route->gateway ! [all...] |
H A D | domains.cpp | 84 AddressString(domain, route->gateway 85 ? route->gateway : NULL).Data(),
|
H A D | interfaces.cpp | 170 kprintf("gateway: %p\n", route->gateway); 275 route.gateway = NULL; 298 route.gateway = NULL; 999 datalink->direct_route.gateway = NULL;
|
H A D | datalink.cpp | 407 TRACE(" gateway route\n"); 409 // This route involves a gateway, we need to use the gateway address 411 if (route->gateway == NULL) 413 memcpy(buffer->destination, route->gateway, route->gateway->sa_len);
|
/haiku/src/preferences/network/ |
H A D | InterfaceAddressView.cpp | 93 fGatewayField->SetToolTip(B_TRANSLATE("Your gateway to the internet")); 241 BNetworkAddress gateway; local 242 if (fInterface.GetDefaultGateway(fFamily, gateway) == B_OK) 243 fGatewayField->SetText(gateway.ToString());
|
/haiku/src/add-ons/kernel/network/protocols/icmp/ |
H A D | icmp.cpp | 53 in_addr_t gateway; member in struct:icmp_header::__anon2526::__anon2528 596 sockaddr_in& gateway = (sockaddr_in&)errorData->gateway; local 597 icmpHeader->redirect.gateway = gateway.sin_addr.s_addr;
|
/haiku/headers/private/net/ |
H A D | net_protocol.h | 41 struct sockaddr_storage gateway; member in union:net_error_data
|
H A D | net_datalink.h | 57 struct sockaddr* gateway; member in struct:net_route
|
/haiku/src/add-ons/kernel/network/ppp/ipcp/ |
H A D | Protocol.cpp | 523 in_addr_t gateway = 0x020F0F0F; local 524 memcpy(addrGateway.sa_data + 2, &gateway, sizeof(in_addr_t)); 533 defaultRoute.gateway = &addrGateway; 610 oldDefaultRoute.gateway = NULL;
|
/haiku/src/bin/network/ping/ |
H A D | ping6.c | 291 char *e, *target, *ifname = NULL, *gateway = NULL; local 432 gateway = optarg; 703 /* set the gateway (next hop) if specified */ 704 if (gateway) { 710 error = cap_getaddrinfo(capdns, gateway, NULL, &hints, &res); 712 errx(1, "cap_getaddrinfo for the gateway %s: %s", 713 gateway, gai_strerror(error)); 716 warnx("gateway resolves to multiple addresses");
|
/haiku/src/tests/system/network/tcp_shell/ |
H A D | tcp_shell.cpp | 740 struct context* context = (struct context*)route->gateway; 1370 context.route.gateway = (sockaddr *)&context;
|