Home
last modified time | relevance | path

Searched refs:gw (Results 1 – 13 of 13) sorted by relevance

/Zephyr-Core-2.7.6/samples/net/dhcpv4_client/src/
Dmain.c55 &iface->config.ip.ipv4->gw, in handler()
/Zephyr-Core-2.7.6/samples/boards/esp32/wifi_station/src/
Dmain.c44 &iface->config.ip.ipv4->gw, in handler_cb()
/Zephyr-Core-2.7.6/samples/net/telnet/src/
Dtelnet.c54 &iface->config.ip.ipv4->gw, in ipv4_addr_add_handler()
/Zephyr-Core-2.7.6/tests/net/arp/src/
Dmain.c343 struct in_addr gw = { { { 192, 168, 0, 42 } } }; in test_arp() local
349 net_if_ipv4_set_gw(iface, &gw); in test_arp()
472 &iface->config.ip.ipv4->gw)) { in test_arp()
475 net_sprint_ipv4_addr(&iface->config.ip.ipv4->gw)); in test_arp()
/Zephyr-Core-2.7.6/samples/net/dns_resolve/src/
Dmain.c186 &iface->config.ip.ipv4->gw, in ipv4_addr_add_handler()
/Zephyr-Core-2.7.6/tests/net/ip-addr/src/
Dmain.c386 struct in_addr gw = { { { 192, 168, 0, 42 } } }; in test_ipv4_addresses() local
471 net_if_ipv4_set_gw(iface, &gw); in test_ipv4_addresses()
/Zephyr-Core-2.7.6/include/net/
Dnet_if.h269 struct in_addr gw; member
1870 void net_if_ipv4_set_gw(struct net_if *iface, const struct in_addr *gw);
1880 __syscall bool net_if_ipv4_set_gw_by_index(int index, const struct in_addr *gw);
/Zephyr-Core-2.7.6/drivers/wifi/esp_at/
Desp.h202 struct in_addr gw; member
Desp.c409 net_addr_pton(AF_INET, ip, &dev->gw); in MODEM_CMD_DEFINE()
443 net_if_ipv4_set_gw(dev->net_iface, &dev->gw); in esp_ip_addr_work()
/Zephyr-Core-2.7.6/subsys/net/lib/config/
Dinit.c90 &iface->config.ip.ipv4->gw, in ipv4_addr_add_handler()
/Zephyr-Core-2.7.6/subsys/net/ip/
Dnet_if.c3360 void net_if_ipv4_set_gw(struct net_if *iface, const struct in_addr *gw) in net_if_ipv4_set_gw() argument
3372 net_ipaddr_copy(&iface->config.ip.ipv4->gw, gw); in net_if_ipv4_set_gw()
3378 const struct in_addr *gw) in z_impl_net_if_ipv4_set_gw_by_index() argument
3387 net_if_ipv4_set_gw(iface, gw); in z_impl_net_if_ipv4_set_gw_by_index()
3394 const struct in_addr *gw) in z_vrfy_net_if_ipv4_set_gw_by_index() argument
3404 Z_OOPS(z_user_from_copy(&gw_addr, (void *)gw, sizeof(gw_addr))); in z_vrfy_net_if_ipv4_set_gw_by_index()
Dnet_shell.c680 net_sprint_ipv4_addr(&ipv4->gw)); in iface_cb()
/Zephyr-Core-2.7.6/subsys/net/l2/ethernet/
Darp.c342 addr = &ipv4->gw; in net_arp_prepare()