X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/fe8ab488e9161c46dd9885d58fc52996dc0249ff..9d749ea394c01276fa19e397e70f46858e849c76:/bsd/netinet/tcp_timer.h diff --git a/bsd/netinet/tcp_timer.h b/bsd/netinet/tcp_timer.h index 0e7a43f11..04a9eb5e4 100644 --- a/bsd/netinet/tcp_timer.h +++ b/bsd/netinet/tcp_timer.h @@ -177,6 +177,8 @@ #define TCPTV_PERSMIN ( 5*TCP_RETRANSHZ) /* retransmit persistence */ #define TCPTV_PERSMAX ( 60*TCP_RETRANSHZ) /* maximum persist interval */ +extern int tcptv_persmin_val; + #define TCPTV_KEEP_INIT ( 75*TCP_RETRANSHZ) /* connect keep alive */ #define TCPTV_KEEP_IDLE (120*60*TCP_RETRANSHZ) /* time before probing */ #define TCPTV_KEEPINTVL ( 75*TCP_RETRANSHZ) /* default probe interval */ @@ -248,6 +250,7 @@ struct tcptimerlist { lck_grp_attr_t *mtx_grp_attr; /* mutex group attributes */ thread_call_t call; /* call entry */ uint32_t runtime; /* time at which this list is going to run */ + uint32_t schedtime; /* time at which this list was scheduled */ uint32_t entries; /* Number of entries on the list */ uint32_t maxentries; /* Max number of entries at any time */ @@ -262,6 +265,7 @@ struct tcptimerlist { uint32_t pref_offset; /* Preferred offset set by a connection */ uint32_t idleruns; /* Number of times the list has been idle in fast mode */ struct tcptimerentry *next_te; /* next timer entry pointer to process */ + u_int16_t probe_if_index; /* Interface index that needs to send probes */ };