nuttx/net/utils/Kconfig

27 lines
821 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
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:
uint16_t net_chksum(FAR uint16_t *data, uint16_t len)
uint16_t ipv4_chksum(FAR struct net_driver_s *dev)
uint16_t tcp_ipv4_chksum(FAR struct net_driver_s *dev);
uint16_t tcp_ipv6_chksum(FAR struct net_driver_s *dev);
uint16_t udp_chksum(FAR struct net_driver_s *dev);