summaryrefslogtreecommitdiff
path: root/nuttx/net/utils/Kconfig
blob: c6700624b241ae04712f00a810e34291ab163bc9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#
# 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_ipv4_chksum(FAR struct net_driver_s *dev);
			uint16_t udp_ipv6_chksum(FAR struct net_driver_s *dev);