]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/net/if_utun.h
xnu-3247.1.106.tar.gz
[apple/xnu.git] / bsd / net / if_utun.h
index 51122c980518b696a51957cec7c256151c0bf9df..2ffd72ee195719af7b3869d8c9676a2ff91e85a7 100644 (file)
@@ -45,6 +45,7 @@ struct utun_pcb {
        u_int32_t               utun_unit;
        u_int32_t               utun_flags;
        int                             utun_ext_ifdata_stats;
+       u_int32_t               utun_max_pending_packets;
        utun_crypto_ctx_t utun_crypto_ctx[UTUN_CRYPTO_CTX_NUM_DIRS];
 };
 
@@ -81,6 +82,8 @@ errno_t utun_register_control(void);
 #endif /* PRIVATE */
 
 #define UTUN_OPT_SET_DELEGATE_INTERFACE                        15      /* set the delegate interface (char[]) */
+#define UTUN_OPT_MAX_PENDING_PACKETS                   16      /* the number of packets that can be waiting to be read
+                                                                                                                       from the control socket at a time */
 
 /*
  * Flags for by UTUN_OPT_FLAGS