zephyr/subsys/net/ip
Paul Sokolovsky 6a2853f9f4 net: ipv4: Clarify basic IPv4 packet drop logging
1. Clarify message telling that the actual packet length fed by the
driver differs from what specified in IPv4 header, and that leads to
drop.
2. Debug log any dropped packets in general.

These changes come from the experience of developing a networking
driver, where figuring out why packets get dropped may require
quite a head-scratching.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2018-12-04 12:29:03 +02:00
..
6lo_private.h net: Convert raw timeout values to use K_MSEC() macro 2018-05-28 17:20:11 -04:00
6lo.c net: Rename net_is_xxx...() functions to net_xxx_is...() 2018-11-02 14:52:33 -04:00
6lo.h
CMakeLists.txt net: ipv6: Separate IPv6 fragment functionality 2018-08-17 17:01:54 +03:00
connection.c net: Rename net_is_xxx...() functions to net_xxx_is...() 2018-11-02 14:52:33 -04:00
connection.h
dhcpv4.c net: Use log_strdup() when printing debug strings 2018-10-04 14:13:57 +03:00
dhcpv4.h net/dhcpv4: Rename functions to follow domain related naming rules 2018-07-27 13:00:01 +03:00
icmpv4.c net: ipv4: Drop the replies if src address in unspecified 2018-11-28 10:13:41 +01:00
icmpv4.h net: icmpv4: Simplify the flow at net_icmpv4_get/set_xxx() calls 2018-08-13 13:52:57 +03:00
icmpv6.c net: ipv6: Check the size of the ICMPv6 echo-req packet 2018-11-06 11:08:15 +02:00
icmpv6.h net: icmpv6: Simplify the flow at net_icmpv6_get/set_xxx() calls 2018-08-10 12:53:59 +03:00
ipv4_autoconf_internal.h net: IPv4 link local support 2018-07-31 16:34:28 +03:00
ipv4_autoconf.c logging: Fix errors in log usage 2018-11-10 12:38:29 -05:00
ipv4.c net: ipv4: Clarify basic IPv4 packet drop logging 2018-12-04 12:29:03 +02:00
ipv4.h net: core: Always have a timeout when allocating a net_buf 2018-08-14 12:17:00 +03:00
ipv6_fragment.c net: ipv6: Add Destination Options Header support 2018-10-25 16:50:15 +03:00
ipv6_mld.c net: ipv6: Remove incorrect length assignment in MLDv2 2018-10-26 22:28:43 +03:00
ipv6_nbr.c net: Rename net_is_xxx...() functions to net_xxx_is...() 2018-11-02 14:52:33 -04:00
ipv6.c net: Discard received extra data at the end of the IP message 2018-12-02 14:23:13 -05:00
ipv6.h net: ipv6: Separate IPv6 fragment functionality 2018-08-17 17:01:54 +03:00
Kconfig logging: Fix errors in log usage 2018-11-10 12:38:29 -05:00
Kconfig.debug net: log: Max debug level was forced too high 2018-10-25 15:05:19 +03:00
Kconfig.ipv4 net: Properly handle pkt IPv4 broadcast destination address 2018-10-26 15:37:21 +03:00
Kconfig.ipv6 net: Convert core IP stack to use log levels 2018-10-04 14:13:57 +03:00
Kconfig.mgmt net: Convert core IP stack to use log levels 2018-10-04 14:13:57 +03:00
Kconfig.rpl net: rpl: Deprecate RPL 2018-11-22 09:01:04 -05:00
Kconfig.stack Kconfig: Use the first default with a satisfied condition 2018-08-10 12:38:28 -07:00
Kconfig.stats net: Convert core IP stack to use log levels 2018-10-04 14:13:57 +03:00
nbr.c net: Use log_strdup() when printing debug strings 2018-10-04 14:13:57 +03:00
nbr.h net: Convert core IP stack to use log levels 2018-10-04 14:13:57 +03:00
net_context.c net: ipv4: Drop the replies if src address in unspecified 2018-11-28 10:13:41 +01:00
net_core.c net: ipv6: Loopback interface local scope packets back to us 2018-11-06 11:11:08 +02:00
net_if.c net/net_if: Do not set TCP related flags on non-INET/6 family 2018-11-30 11:12:13 -08:00
net_mgmt.c net: Set names for threads used by the network subsys/libs 2018-10-19 07:58:45 -04:00
net_pkt.c net: pkt: Print debug prints in one line 2018-11-13 12:54:27 -05:00
net_private.h net: ipv6: Drop outside pkt with ::1 dst or src address 2018-11-01 14:32:21 +02:00
net_shell.c net: shell: Add IPv6 and IPv4 checks for ping command 2018-11-06 11:09:12 +02:00
net_shell.h net: shell: Migrate to new shell API 2018-10-15 11:14:02 +03:00
net_stats.c net: Convert core IP stack to use log levels 2018-10-04 14:13:57 +03:00
net_stats.h net: stats: handle_na_input: unref packet after stats are updated 2018-06-11 17:33:17 -04:00
net_tc_mapping.h net: Fix credit-based shaper typos 2018-08-08 13:01:37 +03:00
net_tc.c net: Set names for threads used by the network subsys/libs 2018-10-19 07:58:45 -04:00
promiscuous.c net: promisc: Flush the promisc queue properly 2018-11-13 10:00:07 +02:00
route.c net: Rename net_is_xxx...() functions to net_xxx_is...() 2018-11-02 14:52:33 -04:00
route.h
rpl-mrhof.c net: Convert core IP stack to use log levels 2018-10-04 14:13:57 +03:00
rpl-of0.c net: Use log_strdup() when printing debug strings 2018-10-04 14:13:57 +03:00
rpl.c net: Rename net_is_xxx...() functions to net_xxx_is...() 2018-11-02 14:52:33 -04:00
rpl.h net: rpl: Remove __deprecated tag to one function 2018-11-23 09:10:23 -05:00
tcp_internal.h net: tcp: Remove NET_TCP_FINAL_* flags 2018-08-27 12:51:37 -04:00
tcp.c net: Use log_strdup() when printing debug strings 2018-10-04 14:13:57 +03:00
trickle.c net: Convert core IP stack to use log levels 2018-10-04 14:13:57 +03:00
udp_internal.h net/udp: Separating net_context from udp and other cleanup 2018-09-13 14:34:25 +03:00
udp.c net: Convert core IP stack to use log levels 2018-10-04 14:13:57 +03:00
utils.c net: Use log_strdup() when printing debug strings 2018-10-04 14:13:57 +03:00