Kconfig 929 B

1234567891011121314151617181920212223242526
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see the file kconfig-language.txt in the NuttX tools repository.
  4. #
  5. config NET_ARCH_INCR32
  6. bool "Architecture-specific net_incr32()"
  7. default n
  8. ---help---
  9. Define if you architecture provided an optimized version of
  10. net_incr32() with prototype:
  11. void net_incr32(FAR uint8_t *op32, uint16_t op16)
  12. config NET_ARCH_CHKSUM
  13. bool "Architecture-specific net_chksum()"
  14. default n
  15. ---help---
  16. Define if you architecture provided an optimized version of
  17. functions with the following prototypes:
  18. uint16_t chksum(uint16_t sum, FAR const uint8_t *data, uint16_t len)
  19. uint16_t net_chksum(FAR uint16_t *data, uint16_t len)
  20. uint16_t ipv4_chksum(FAR struct net_driver_s *dev)
  21. uint16_t ipv4_upperlayer_chksum(FAR struct net_driver_s *dev, uint8_t proto)
  22. uint16_t ipv6_upperlayer_chksum(FAR struct net_driver_s *dev, uint8_t proto, unsigned int iplen)