zephyr/subsys/net/lib/shell
Jukka Rissanen 1b0f9e865e net: ipv4: Make netmask IPv4 address specific
The netmask should be tied to the IPv4 address instead of being
global for the network interface.

If there is only one IPv4 address specified to the network interface,
nothing changes from user point of view. But if there are more than
one IPv4 address / network interface, the netmask must be specified
to each address separately.

This means that net_if_ipv4_get_netmask() and net_if_ipv4_set_netmask()
functions should not be used as they only work reliably if there is
only one IPv4 address in the network interface.

The new net_if_ipv4_get_netmask_by_addr() and
net_if_ipv4_set_netmask_by_addr() functions should be used as they make
sure that the netmask is tied to correct IPv4 address in the network
interface.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-03-03 18:58:29 +01:00
..
allocs.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
arp.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
capture.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
CMakeLists.txt net: shell: Implement DHCPv4 server shell commands 2024-01-19 10:15:23 +00:00
conn.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
dhcpv4.c net: shell: Implement DHCPv4 server shell commands 2024-01-19 10:15:23 +00:00
dns.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
events.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
gptp.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
iface_dynamic.h
iface.c net: ipv4: Make netmask IPv4 address specific 2024-03-03 18:58:29 +01:00
ipv4.c net: ipv4: Make netmask IPv4 address specific 2024-03-03 18:58:29 +01:00
ipv6.c net/shell: Fixing a trivial error code 2024-03-01 15:33:53 +01:00
mem.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
nbr.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
net_shell_private.h net: shell: ensure the shell sh is valid before call shell_printf 2024-02-26 11:41:03 +00:00
net_shell.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
net_shell.h
ping.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
pkt.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
ppp.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
resume.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
route.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
sockets.c net: shell: Print mgmt socket information properly 2024-02-28 09:39:27 +01:00
stats.c net: shell: Print more Ethernet statistics 2023-12-22 09:53:26 +01:00
suspend.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
tcp.c net: ipv4: Make netmask IPv4 address specific 2024-03-03 18:58:29 +01:00
udp.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
virtual.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
vlan.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00
websocket.c net: shell: Rename the common.h to be more unique 2023-12-13 20:13:39 +01:00