zephyr/subsys/net
Florian Grandel 9d1874f7f9 net: capture: enable capturing of IPv6/v4 only
Net capturing would not link when either IPv6 or IPv4 was switched off
due to missing symbols. This change allows for capturing a single IP
protocol only.

To reproduce:

samples/net/sockets/http_client/prj.conf
```
-CONFIG_NET_IPV4=y
+CONFIG_NET_IPV4=n
-CONFIG_NET_CONFIG_NEED_IPV4=y
+CONFIG_NET_CONFIG_NEED_IPV4=n
+
+CONFIG_NET_CAPTURE=y
```

This will cause the following linker error:
```
.../subsys/net/lib/capture/capture.c:648:
    undefined reference to `net_if_ipv4_get_ttl'
```

Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
2024-08-26 17:06:37 +02:00
..
conn_mgr net: shell: add conn_mgr shell commands 2024-08-20 10:31:55 +02:00
ip net: sockets: Update msg_controllen in recvmsg properly 2024-08-23 15:50:37 +01:00
l2 net: l2: ieee802154: 6lo_fragment: improved error message 2024-08-26 17:06:37 +02:00
lib net: capture: enable capturing of IPv6/v4 only 2024-08-26 17:06:37 +02:00
pkt_filter
buf_simple.c net: buf: Add const to net_buf API 2024-07-08 16:02:39 +02:00
buf.c net: buf: Clear user_data on allocation 2024-08-19 09:55:24 -04:00
CMakeLists.txt
hostname.c net: hostname: Add a function to set the hostname postfix as is. 2024-07-28 07:28:51 +03:00
Kconfig
Kconfig.hostname
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net