nuttx/net/utils
chao an 4281acdb83 net/chksum: move all chksum api declarations to common header
The following APIs need to be overriden by the arch after enabling
CONFIG_NET_ARCH_CHKSUM, move these functions to the common header
file to avoid prototype conflicts

uint16_t chksum(uint16_t sum, FAR const uint8_t *data, uint16_t len);
uint16_t net_chksum(FAR uint16_t *data, uint16_t len);
uint16_t ipv4_upperlayer_chksum(FAR struct net_driver_s *dev, uint8_t proto);
uint16_t ipv6_upperlayer_chksum(FAR struct net_driver_s *dev,
                                uint8_t proto, unsigned int iplen);
uint16_t ipv4_chksum(FAR struct ipv4_hdr_s *ipv4);

Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-30 15:08:14 +08:00
..
Kconfig net: extract l3 header build code into new functions 2022-11-29 18:36:15 +08:00
Make.defs net/icmp[v6]: ICMP[v6]_NO_STACK should not depends on NET_IPv4/6 2022-11-20 08:16:20 -03:00
net_bounddev.c tcp: find bound device when laddr is ANY 2022-11-12 18:36:09 +08:00
net_chksum.c net/utils: add net_chksum_adjust defined by RFC3022 2022-11-02 21:25:01 +01:00
net_dsec2tick.c
net_dsec2timeval.c
net_icmpchksum.c net: move device buffer define to common header 2022-10-28 00:32:16 -04:00
net_incr32.c
net_ipchksum.c net: extract l3 header build code into new functions 2022-11-29 18:36:15 +08:00
net_ipv6_mask2pref.c net: use HTONS, NTOHS, HTONL, NTOHL macro in kernel code 2022-01-18 10:59:47 +01:00
net_ipv6_maskcmp.c NuttX: Gregory Nutt: update licenses to Apache 2021-04-03 04:20:31 -07:00
net_ipv6_pref2mask.c NuttX: Gregory Nutt: update licenses to Apache 2021-04-03 04:20:31 -07:00
net_lock.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
net_snoop.c net:add btsnoop and snoop 2022-08-24 21:42:30 +08:00
net_tcpchksum.c
net_timeval2dsec.c
net_udpchksum.c
utils.h net/chksum: move all chksum api declarations to common header 2022-11-30 15:08:14 +08:00