]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet/in_systm.h
xnu-6153.141.1.tar.gz
[apple/xnu.git] / bsd / netinet / in_systm.h
index 638f14bbe272a05e2a1b99e0d1f2c5d5f4aa3413..c191fed8d7145c3ff3b31523d6cf3207427c6dff 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000-2015 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2018 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  *
@@ -85,6 +85,8 @@ typedef __uint32_t n_long;              /* long as received from the net */
 typedef __uint32_t n_time;              /* ms since 00:00 GMT, byte rev */
 
 #ifdef BSD_KERNEL_PRIVATE
+#define ABS(v) (((v) > 0) ? (v) : -(v))
+
 u_int32_t iptime(void);
 #endif /* BSD_KERNEL_PRIVATE */
 #endif /* _NETINET_IN_SYSTM_H_ */