]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet/udp.h
xnu-1456.1.26.tar.gz
[apple/xnu.git] / bsd / netinet / udp.h
index dc4171e797c24f445d8eb7cb8eb655eb49e80ef4..ef82a6f1546ceff5a49fabbe8ce7b2bd15ff89c0 100644 (file)
@@ -63,6 +63,7 @@
 #ifndef _NETINET_UDP_H_
 #define _NETINET_UDP_H_
 #include <sys/appleapiopts.h>
+#include <sys/types.h>         /* u_short */
 
 /*
  * Udp protocol header.
@@ -75,4 +76,8 @@ struct udphdr {
        u_short uh_sum;                 /* udp checksum */
 };
 
+/*
+ * User-settable options (used with setsockopt).
+ */
+#define        UDP_NOCKSUM     0x01    /* don't checksum outbound payloads */
 #endif