4281acdb83
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Make.defs | ||
net_bounddev.c | ||
net_chksum.c | ||
net_dsec2tick.c | ||
net_dsec2timeval.c | ||
net_icmpchksum.c | ||
net_incr32.c | ||
net_ipchksum.c | ||
net_ipv6_mask2pref.c | ||
net_ipv6_maskcmp.c | ||
net_ipv6_pref2mask.c | ||
net_lock.c | ||
net_snoop.c | ||
net_tcpchksum.c | ||
net_timeval2dsec.c | ||
net_udpchksum.c | ||
utils.h |