2014-06-26 22:23:21 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2014-06-26 22:23:21 +02:00
|
|
|
#
|
2014-06-28 01:51:32 +02:00
|
|
|
|
|
|
|
config NET_ARCH_INCR32
|
|
|
|
bool "Architecture-specific net_incr32()"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Define if you architecture provided an optimized version of
|
|
|
|
net_incr32() with prototype:
|
|
|
|
|
|
|
|
void net_incr32(FAR uint8_t *op32, uint16_t op16)
|
|
|
|
|
|
|
|
config NET_ARCH_CHKSUM
|
|
|
|
bool "Architecture-specific net_chksum()"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Define if you architecture provided an optimized version of
|
|
|
|
functions with the following prototypes:
|
|
|
|
|
2020-01-30 08:45:15 +01:00
|
|
|
uint16_t chksum(uint16_t sum, FAR const uint8_t *data, uint16_t len)
|
2014-06-28 01:51:32 +02:00
|
|
|
uint16_t net_chksum(FAR uint16_t *data, uint16_t len)
|
2015-01-14 23:10:38 +01:00
|
|
|
uint16_t ipv4_chksum(FAR struct net_driver_s *dev)
|
2020-01-30 08:45:15 +01:00
|
|
|
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)
|