summaryrefslogtreecommitdiff
path: root/nuttx/net/utils/Kconfig
blob: 5ba6ffe3e6ac1a91fbd87b1d0f1ae9e4195a640c (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
#
# 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);