]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/kern/socket_info.c
xnu-2782.10.72.tar.gz
[apple/xnu.git] / bsd / kern / socket_info.c
index 157b47dc3dabf30074740b68caa7853774b03de5..73725bbb4d25fe07a244c9ccb0ba9c85b37b221e 100644 (file)
@@ -149,12 +149,14 @@ fill_socketinfo(struct socket *so, struct socket_info *si)
                        si->soi_kind = SOCKINFO_TCP;
 
                        tcpsi->tcpsi_state = tp->t_state;
-                       tcpsi->tcpsi_timer[TCPT_REXMT] =
+                       tcpsi->tcpsi_timer[TSI_T_REXMT] =
                            tp->t_timer[TCPT_REXMT];
-                       tcpsi->tcpsi_timer[TCPT_PERSIST] =
+                       tcpsi->tcpsi_timer[TSI_T_PERSIST] =
                            tp->t_timer[TCPT_PERSIST];
-                       tcpsi->tcpsi_timer[TCPT_KEEP] = tp->t_timer[TCPT_KEEP];
-                       tcpsi->tcpsi_timer[TCPT_2MSL] = tp->t_timer[TCPT_2MSL];
+                       tcpsi->tcpsi_timer[TSI_T_KEEP] =
+                           tp->t_timer[TCPT_KEEP];
+                       tcpsi->tcpsi_timer[TSI_T_2MSL] =
+                           tp->t_timer[TCPT_2MSL];
                        tcpsi->tcpsi_mss = tp->t_maxseg;
                        tcpsi->tcpsi_flags = tp->t_flags;
                        tcpsi->tcpsi_tp =