zephyr/subsys/net/lib
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
..
capture net: capture: enable capturing of IPv6/v4 only 2024-08-26 17:06:37 +02:00
coap net: coap: Parse more flag in coap_get_block2_option() 2024-08-02 22:12:47 -05:00
config net: config: add missing include 2024-08-21 16:44:06 -04:00
dhcpv4 net: dhcpv4_server: dns server option 2024-08-20 18:58:40 -04:00
dhcpv6 net: dhcpv6: Add configurable DUID buffer length 2024-04-03 10:28:20 +03:00
dns kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
http net: lib: http_server: Clear http1_headers_sent flag on new request 2024-08-12 15:54:03 +02:00
lwm2m net: lwm2m: remove deprecated APIs and confs 2024-08-14 09:14:43 -04:00
mqtt net: mqtt: improve decoder buffer handling 2024-07-31 13:08:28 +02:00
mqtt_sn kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
ptp net: ptp: Properly handle second overflow/underflow 2024-08-06 09:17:26 +01:00
shell net: shell: cm: Fix snprintf warnings on NEWLIBC 2024-08-24 07:14:32 -04:00
sntp net: lib: sntp_simple: add a function to use with ip address 2024-02-28 18:03:53 +00:00
sockets net: sockets: Update msg_controllen in recvmsg properly 2024-08-23 15:50:37 +01:00
socks net: socks: Remove socket selection 2024-03-27 13:40:13 -05:00
tftp net: tftp: Use zsock_ API functions 2024-03-27 13:40:13 -05:00
tls_credentials net: lib: fix typo 2024-07-12 09:33:20 -04:00
trickle net: trickle: Rename interval function 2024-03-19 15:20:14 -05:00
utils
websocket net: websocket: fix undefined reference 2024-08-21 08:58:57 +02:00
zperf style: subsys: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
CMakeLists.txt net: ptp: Initial PTP library implementation 2024-06-13 05:40:41 -04:00
Kconfig net: ptp: Initial PTP library implementation 2024-06-13 05:40:41 -04:00