Searched refs:gw (Results 1 – 13 of 13) sorted by relevance
/Zephyr-Core-2.7.6/samples/net/dhcpv4_client/src/ |
D | main.c | 55 &iface->config.ip.ipv4->gw, in handler()
|
/Zephyr-Core-2.7.6/samples/boards/esp32/wifi_station/src/ |
D | main.c | 44 &iface->config.ip.ipv4->gw, in handler_cb()
|
/Zephyr-Core-2.7.6/samples/net/telnet/src/ |
D | telnet.c | 54 &iface->config.ip.ipv4->gw, in ipv4_addr_add_handler()
|
/Zephyr-Core-2.7.6/tests/net/arp/src/ |
D | main.c | 343 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/ |
D | main.c | 186 &iface->config.ip.ipv4->gw, in ipv4_addr_add_handler()
|
/Zephyr-Core-2.7.6/tests/net/ip-addr/src/ |
D | main.c | 386 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/ |
D | net_if.h | 269 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/ |
D | esp.h | 202 struct in_addr gw; member
|
D | esp.c | 409 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/ |
D | init.c | 90 &iface->config.ip.ipv4->gw, in ipv4_addr_add_handler()
|
/Zephyr-Core-2.7.6/subsys/net/ip/ |
D | net_if.c | 3360 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()
|
D | net_shell.c | 680 net_sprint_ipv4_addr(&ipv4->gw)); in iface_cb()
|
/Zephyr-Core-2.7.6/subsys/net/l2/ethernet/ |
D | arp.c | 342 addr = &ipv4->gw; in net_arp_prepare()
|