/Zephyr-Core-3.6.0/samples/boards/nxp_s32/netc/src/ |
D | main.c | 21 const char *ipv4_addr, const char *netmask) in setup_iface() argument 56 if (netmask && netmask[0]) { in setup_iface() 57 if (net_addr_pton(AF_INET, netmask, &addr4)) { in setup_iface() 58 LOG_ERR("Invalid netmask: %s", netmask); in setup_iface()
|
/Zephyr-Core-3.6.0/samples/net/mdns_responder/src/ |
D | vlan.c | 46 const char *ipv4_addr, const char *netmask, in setup_iface() argument 88 if (netmask && netmask[0]) { in setup_iface() 89 if (net_addr_pton(AF_INET, netmask, &addr4)) { in setup_iface()
|
/Zephyr-Core-3.6.0/samples/net/sockets/echo_server/src/ |
D | vlan.c | 46 const char *ipv4_addr, const char *netmask, in setup_iface() argument 88 if (netmask && netmask[0]) { in setup_iface() 89 if (net_addr_pton(AF_INET, netmask, &addr4)) { in setup_iface()
|
/Zephyr-Core-3.6.0/samples/net/virtual/ |
D | Kconfig | 19 string "My IPv4 netmask for second interface" 22 Static netmask to use if not overridden by DHCP. Use empty value to 36 string "My IPv4 netmask for third interface" 39 Static netmask to use if not overridden by DHCP. Use empty value to
|
/Zephyr-Core-3.6.0/samples/boards/nxp_s32/netc/ |
D | Kconfig | 19 string "My IPv4 netmask for second interface" 22 Static netmask to use.
|
/Zephyr-Core-3.6.0/drivers/net/ |
D | loopback.c | 45 struct in_addr netmask = { { { 255, 0, 0, 0 } } }; in loopback_init() local 53 net_if_ipv4_set_netmask(iface, &netmask); in loopback_init()
|
/Zephyr-Core-3.6.0/samples/net/mdns_responder/ |
D | Kconfig | 19 string "My IPv4 netmask for second interface" 43 string "My IPv4 netmask for third interface"
|
/Zephyr-Core-3.6.0/samples/net/virtual/src/ |
D | main.c | 229 const char *netmask) in setup_iface() argument 304 if (netmask) { in setup_iface() 305 if (net_addr_pton(AF_INET, netmask, &addr4)) { in setup_iface() 306 LOG_ERR("Invalid netmask: %s", netmask); in setup_iface()
|
/Zephyr-Core-3.6.0/samples/net/sockets/echo_server/ |
D | Kconfig | 26 string "My IPv4 netmask for second interface" 50 string "My IPv4 netmask for third interface"
|
/Zephyr-Core-3.6.0/samples/net/dhcpv4_client/src/ |
D | main.c | 64 &iface->config.ip.ipv4->netmask, in handler()
|
/Zephyr-Core-3.6.0/samples/net/dhcpv4_client/ |
D | README.rst | 11 DHCPv4 server, and prints address, lease time, netmask and router 40 subnet 192.0.2.0 netmask 255.255.255.0 { 110 subnet 192.0.2.0 netmask 255.255.255.0 {
|
/Zephyr-Core-3.6.0/samples/net/capture/ |
D | README.rst | 56 inet 192.0.2.2 netmask 255.255.255.255 broadcast 0.0.0.0 83 inet 198.51.100.2 netmask 255.255.255.0 destination 198.51.100.2 92 inet 203.0.113.2 netmask 255.255.255.0 destination 203.0.113.2 141 IPv4 netmask : 255.255.255.0
|
/Zephyr-Core-3.6.0/samples/net/telnet/src/ |
D | telnet.c | 50 &iface->config.ip.ipv4->netmask, in ipv4_addr_add_handler()
|
/Zephyr-Core-3.6.0/subsys/net/ip/ |
D | ipv4_autoconf.c | 166 struct in_addr netmask = { { { 255, 255, 0, 0 } } }; in ipv4_autoconf_addr_set() local 185 net_if_ipv4_set_netmask(ipv4auto->iface, &netmask); in ipv4_autoconf_addr_set()
|
D | net_if.c | 3283 subnet = UNALIGNED_GET(&addr->s_addr) & ipv4->netmask.s_addr; in net_if_ipv4_addr_mask_cmp() 3292 ipv4->netmask.s_addr) == subnet) { in net_if_ipv4_addr_mask_cmp() 3323 if ((UNALIGNED_GET(&addr->s_addr) & ~ipv4->netmask.s_addr) == in ipv4_is_broadcast_address() 3324 ~ipv4->netmask.s_addr) { in ipv4_is_broadcast_address() 3626 struct in_addr netmask = { 0 }; in net_if_ipv4_get_netmask() local 3638 netmask = iface->config.ip.ipv4->netmask; in net_if_ipv4_get_netmask() 3642 return netmask; in net_if_ipv4_get_netmask() 3646 const struct in_addr *netmask) in net_if_ipv4_set_netmask() argument 3658 net_ipaddr_copy(&iface->config.ip.ipv4->netmask, netmask); in net_if_ipv4_set_netmask() 3664 const struct in_addr *netmask) in z_impl_net_if_ipv4_set_netmask_by_index() argument [all …]
|
/Zephyr-Core-3.6.0/subsys/net/lib/shell/ |
D | ipv4.c | 50 &ipv4->netmask)); in ip_address_lifetime_cb()
|
/Zephyr-Core-3.6.0/subsys/net/lib/dhcpv4/ |
D | dhcpv4_server.c | 64 struct in_addr netmask; member 450 buf, buflen, &ctx->netmask); in dhcpv4_encode_requested_params() 1415 struct in_addr netmask; in net_dhcpv4_server_start() local 1439 netmask = net_if_ipv4_get_netmask(iface); in net_dhcpv4_server_start() 1440 if (net_ipv4_is_addr_unspecified(&netmask)) { in net_dhcpv4_server_start() 1502 server_ctx[slot].netmask = netmask; in net_dhcpv4_server_start()
|
D | dhcpv4.c | 729 struct in_addr netmask; in dhcpv4_parse_options() local 736 if (net_pkt_read(pkt, netmask.s4_addr, length)) { in dhcpv4_parse_options() 741 net_if_ipv4_set_netmask(iface, &netmask); in dhcpv4_parse_options() 743 net_sprint_ipv4_addr(&netmask)); in dhcpv4_parse_options()
|
/Zephyr-Core-3.6.0/tests/net/dhcpv4/server/src/ |
D | main.c | 25 static struct in_addr netmask = { { { 255, 255, 255, 0 } } }; variable 70 (void)net_if_ipv4_set_netmask(iface, &netmask); in server_iface_init() 566 verify_option(pkt, DHCPV4_OPTIONS_SUBNET_MASK, netmask.s4_addr, in verify_offer() 753 verify_option(pkt, DHCPV4_OPTIONS_SUBNET_MASK, netmask.s4_addr, in verify_ack()
|
/Zephyr-Core-3.6.0/samples/net/dns_resolve/src/ |
D | main.c | 186 &iface->config.ip.ipv4->netmask, in print_dhcpv4_addr()
|
/Zephyr-Core-3.6.0/tests/net/ip-addr/src/ |
D | main.c | 386 struct in_addr netmask = { { { 255, 255, 255, 0 } } }; in ZTEST() local 474 net_if_ipv4_set_netmask(iface, &netmask); in ZTEST()
|
/Zephyr-Core-3.6.0/subsys/net/lib/config/ |
D | Kconfig | 105 string "My IPv4 netmask" 108 Static netmask to use if not overridden by DHCP. Use empty value to
|
/Zephyr-Core-3.6.0/subsys/net/lib/capture/ |
D | capture.c | 217 struct in_addr netmask = { { { 255, 255, 255, 255 } } }; in setup_iface() local 233 net_if_ipv4_set_netmask(iface, &netmask); in setup_iface()
|
/Zephyr-Core-3.6.0/tests/net/arp/src/ |
D | main.c | 342 struct in_addr netmask = { { { 255, 255, 255, 0 } } }; in ZTEST() local 350 net_if_ipv4_set_netmask(iface, &netmask); in ZTEST()
|
/Zephyr-Core-3.6.0/tests/net/virtual/src/ |
D | main.c | 793 struct in_addr netmask = {{{ 255, 255, 255, 0 }}}; in ZTEST() local 821 net_if_ipv4_set_netmask(iface, &netmask); in ZTEST() 822 net_if_ipv4_set_netmask(eth_interfaces[0], &netmask); in ZTEST()
|