]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet/tcp.h
xnu-7195.101.1.tar.gz
[apple/xnu.git] / bsd / netinet / tcp.h
index b63fc818bc5bacbb8acf16a21eda8e71662492e1..3021fb0b5b5d8291b8e5a98c2bae77b9c7cbc3d7 100644 (file)
@@ -293,7 +293,9 @@ struct tcp_notify_ack_complete {
 #define MPTCP_SVCTYPE_INTERACTIVE       1
 #define MPTCP_SVCTYPE_AGGREGATE         2
 #define MPTCP_SVCTYPE_TARGET_BASED      3
-#define MPTCP_SVCTYPE_MAX               4
+#define MPTCP_SVCTYPE_PURE_HANDOVER     4
+#define MPTCP_SVCTYPE_MAX               5
+
 /*
  * Specify minimum time in seconds before which an established
  * TCP connection will not be dropped when there is no response from the
@@ -322,10 +324,15 @@ struct tcp_notify_ack_complete {
 #define TCPI_FLAG_STREAMING_ON  0x02    /* Streaming detection on */
 
 struct tcp_conn_status {
-       unsigned int    probe_activated : 1;
-       unsigned int    write_probe_failed : 1;
-       unsigned int    read_probe_failed : 1;
-       unsigned int    conn_probe_failed : 1;
+       union {
+               struct {
+                       unsigned int    probe_activated : 1;
+                       unsigned int    write_probe_failed : 1;
+                       unsigned int    read_probe_failed : 1;
+                       unsigned int    conn_probe_failed : 1;
+               };
+               uint32_t        pad_field;
+       };
 };
 
 /*