nuttx/drivers/net
Zhe Weng 22b6076f26 net/udp: Add check when sending too big packet without IP frag
Commit 8a63d29c removed `devif_iob_send` from `udp_sendto_buffered`
workflow, `devif_iob_send` drops too big packet. Now we still need a
place to check the packet length, otherwise a packet larger than MTU
may be sent to the net driver.

In case of similar problem happens somewhere else, this commit also
adds a check in `netdev_upperhalf`, and count these cases into
`NETDEV_TXERRORS`.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-12-12 06:42:33 -08:00
..
CMakeLists.txt driver/net/lan9250: Add LAN9250 driver(SPI and QSPI mode) 2023-12-07 19:53:05 -08:00
dm90x0.c net/ip: print ip addresses using ip4_addrN macro 2023-08-19 13:28:21 -03:00
enc28j60.c net/ip: print ip addresses using ip4_addrN macro 2023-08-19 13:28:21 -03:00
enc28j60.h
encx24j600.c net/ip: print ip addresses using ip4_addrN macro 2023-08-19 13:28:21 -03:00
encx24j600.h
ftmac100.c net/ip: print ip addresses using ip4_addrN macro 2023-08-19 13:28:21 -03:00
Kconfig driver/net/lan9250: Add LAN9250 driver(SPI and QSPI mode) 2023-12-07 19:53:05 -08:00
ksz9477_i2c.c drivers/net: Add a management driver for ksz9477 ethernet switch 2023-09-08 22:34:27 +08:00
ksz9477_reg.h drivers/net: Add a management driver for ksz9477 ethernet switch 2023-09-08 22:34:27 +08:00
ksz9477.c drivers/net: Add a management driver for ksz9477 ethernet switch 2023-09-08 22:34:27 +08:00
lan91c111.c net/ip: print ip addresses using ip4_addrN macro 2023-08-19 13:28:21 -03:00
lan91c111.h
lan9250.c Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
lan9250.h driver/net/lan9250: Add LAN9250 driver(SPI and QSPI mode) 2023-12-07 19:53:05 -08:00
loopback.c net/loopback: Fix flags of lo device 2023-11-29 07:57:01 -08:00
Make.defs driver/net/lan9250: Add LAN9250 driver(SPI and QSPI mode) 2023-12-07 19:53:05 -08:00
netdev_upperhalf.c net/udp: Add check when sending too big packet without IP frag 2023-12-12 06:42:33 -08:00
phy_notify.c
rpmsgdrv.c net/netdev: Support managing multiple IPv6 addresses by ioctl 2023-11-07 19:30:36 +08:00
skeleton.c skeleton.c doesn't compile without this patch if ioctls are enabled 2023-11-18 17:05:53 -08:00
slip.c enable O_CLOEXEC explicit 2023-09-22 13:51:00 +08:00
telnet.c poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
tun.c poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
w5500.c net/ip: print ip addresses using ip4_addrN macro 2023-08-19 13:28:21 -03:00