zephyr/subsys/net/ip
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
..
6lo_private.h
6lo.c
6lo.h
canbus_socket.c
canbus_socket.h
CMakeLists.txt net: dhcpv6: Move DHCPv6 files to lib directory 2024-01-29 13:47:05 +01:00
connection.c net: conn: Improve thread safety in connection module 2023-12-06 09:23:54 +00:00
connection.h net: Add support for v4-mapping-to-v6 sockets 2023-10-23 09:57:22 -05:00
icmp.c net: ip: icmp: Cleanup packet on failed priority check 2023-11-27 19:59:26 +01:00
icmpv4.c net: icmp: Don't report error on ICMP messages w/o handler 2024-01-29 14:57:35 +00:00
icmpv4.h net: ip: Add option to force checksum calculation 2023-11-08 15:09:37 +00:00
icmpv6.c net: icmp: Don't report error on ICMP messages w/o handler 2024-01-29 14:57:35 +00:00
icmpv6.h net: ip: Add option to force checksum calculation 2023-11-08 15:09:37 +00:00
igmp.c net: ip: igmp: removed compiler warning when igmpv3 is enabled 2024-01-17 09:55:28 +01:00
ipv4_autoconf_internal.h
ipv4_autoconf.c net: ipv4: Make netmask IPv4 address specific 2024-03-03 18:58:29 +01:00
ipv4_fragment.c net: pkt: Add explicit flag to indicate packet is IP reassembled 2023-11-08 15:09:37 +00:00
ipv4.c net: dhcpv4: Move DHCPv4 files to lib directory 2024-01-29 13:47:05 +01:00
ipv4.h net: context: Add support for adjusting IPv4 multicast ttl 2023-12-04 15:07:43 +01:00
ipv6_fragment.c net: pkt: Add explicit flag to indicate packet is IP reassembled 2023-11-08 15:09:37 +00:00
ipv6_mld.c net: ipv6_mld: Silently drop MLDv1 queries 2023-12-18 09:28:42 +01:00
ipv6_nbr.c net/ip: Removing useless extra data capability in neighbors 2024-03-01 15:33:53 +01:00
ipv6.c net: ipv6: Check that received src address is not mine 2024-01-03 19:00:33 +00:00
ipv6.h net: ipv6: Improve Neighbor Discovery thread safety 2024-02-09 16:34:34 -06:00
Kconfig net/shell: Net shell has no mandatory support for IPv6 MLD 2024-03-01 15:33:53 +01:00
Kconfig.debug
Kconfig.ipv4 net: dhcpv4: Move DHCPv4 files to lib directory 2024-01-29 13:47:05 +01:00
Kconfig.ipv6 net/ipv6: Enforce MLD to be selected if ND is enabled 2024-03-01 15:33:53 +01:00
Kconfig.mgmt net: ip: net_mgmt: Support system work queue and synchronous callbacks 2023-12-07 16:15:53 +00:00
Kconfig.stack
Kconfig.stats
Kconfig.tcp net: ipv6: nbr: Add IPv6 reachability confirmation API 2024-01-31 14:50:53 +01:00
nbr.c net/ip: Removing useless extra data capability in neighbors 2024-03-01 15:33:53 +01:00
nbr.h net/ip: Removing useless extra data capability in neighbors 2024-03-01 15:33:53 +01:00
net_context.c net: context: Fix the v4 mapped address handling in sendto 2024-01-03 12:55:14 +01:00
net_core.c net: dhcpv6: Move DHCPv6 files to lib directory 2024-01-29 13:47:05 +01:00
net_if.c net: ipv4: Make netmask IPv4 address specific 2024-03-03 18:58:29 +01:00
net_mgmt.c net/mgmt: Trivial debug output fix about layer 2024-03-01 15:33:53 +01:00
net_pkt.c net: pkt: Add function for allocating buffers w/o preconditions 2023-11-21 08:46:45 +00:00
net_private.h net: ipv4: Check localhost for incoming packet 2023-12-21 09:18:24 +01:00
net_stats.c
net_stats.h
net_tc_mapping.h
net_tc.c net: ip: Allow traffic class thread priority customization 2024-02-26 12:11:19 +01:00
net_timeout.c
packet_socket.c
packet_socket.h
promiscuous.c
route.c net/ip: Removing useless extra data capability in neighbors 2024-03-01 15:33:53 +01:00
route.h net/ip: Removing useless extra data capability in neighbors 2024-03-01 15:33:53 +01:00
tcp_internal.h net: tcp: Implement Keep-alive support 2023-12-11 10:11:10 +01:00
tcp_private.h net: tcp: Rate-limiting of neighbor reachability hints 2024-02-09 16:26:10 -06:00
tcp.c net: tcp: Rate-limiting of neighbor reachability hints 2024-02-09 16:26:10 -06:00
tcp.h net: tcp: Rework data queueing API 2023-11-21 08:46:45 +00:00
tp_priv.h
tp.c
tp.h
udp_internal.h net: ip: Add option to force checksum calculation 2023-11-08 15:09:37 +00:00
udp.c net: Verify L4 checksum unconditionally for reassembled packets 2023-11-08 15:09:37 +00:00
utils.c net: ip: add function to set default port 2024-02-28 18:03:53 +00:00