mirror of
https://github.com/apache/nuttx.git
synced 2026-09-27 10:46:02 +08:00
6loWPAN: Fix last checksum issues. Contiki 6loWPAN port is now complete (but completely untested)
This commit is contained in:
+22
-2
@@ -1,7 +1,7 @@
|
||||
############################################################################
|
||||
# net/utils/Make.defs
|
||||
#
|
||||
# Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
# Copyright (C) 2014, 2017 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@@ -36,7 +36,7 @@
|
||||
# Common utilities
|
||||
|
||||
NET_CSRCS += net_dsec2tick.c net_dsec2timeval.c net_timeval2dsec.c
|
||||
NET_CSRCS += net_chksum.c net_lock.c
|
||||
NET_CSRCS += net_chksum.c net_ipchksum.c net_incr32.c net_lock.c
|
||||
|
||||
# IPv6 utilities
|
||||
|
||||
@@ -44,6 +44,26 @@ ifeq ($(CONFIG_NET_IPv6),y)
|
||||
NET_CSRCS += net_ipv6_maskcmp.c net_ipv6_mask2pref.c net_ipv6_pref2mask.c
|
||||
endif
|
||||
|
||||
# TCP utilities
|
||||
|
||||
ifeq ($(CONFIG_NET_TCP),y)
|
||||
NET_CSRCS += net_tcpchksum.c
|
||||
endif
|
||||
|
||||
# UDP utilities
|
||||
|
||||
ifeq ($(CONFIG_NET_UDP),y)
|
||||
NET_CSRCS += net_udpchksum.c
|
||||
endif
|
||||
|
||||
# ICMP utilities
|
||||
|
||||
ifeq ($(CONFIG_NET_ICMP),y)
|
||||
NET_CSRCS += net_icmpchksum.c
|
||||
else ifeq ($(CONFIG_NET_ICMPv6),y)
|
||||
NET_CSRCS += net_icmpchksum.c
|
||||
endif
|
||||
|
||||
# Include utility build support
|
||||
|
||||
DEPPATH += --dep-path utils
|
||||
|
||||
Reference in New Issue
Block a user