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
..
2022-08-02 21:04:19 +08:00
2022-07-27 00:36:49 +08:00
2022-11-11 14:36:55 +08:00
2022-11-23 15:01:54 +08:00
2022-11-29 13:16:44 +08:00
2022-10-19 21:20:35 +08:00
2022-02-20 21:58:10 +08:00
2022-10-28 02:19:26 +08:00
2022-08-09 22:13:09 +03:00
2022-07-27 00:36:49 +08:00
2022-10-26 09:11:52 +08:00
2022-03-17 09:37:15 +02:00
2022-06-03 12:50:14 +08:00
2022-11-09 06:41:19 +01:00
2022-09-05 22:27:05 +08:00
2022-04-17 23:32:05 +03:00