Print this page
6227 truss(1M) is not showing TCP_KEEPIDLE, TCP_KEEPCNT, and TCP_KEEPINTVL TCP options. Hex values are shown instead.
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Richard PALO <richard@netbsd.org>
Reviewed by: Toomas Soome <tsoome@me.com>

@@ -1940,10 +1940,13 @@
         case TCP_CORK:                  return ("TCP_CORK");
         case TCP_RTO_INITIAL:           return ("TCP_RTO_INITIAL");
         case TCP_RTO_MIN:               return ("TCP_RTO_MIN");
         case TCP_RTO_MAX:               return ("TCP_RTO_MAX");
         case TCP_LINGER2:               return ("TCP_LINGER2");
+        case TCP_KEEPIDLE:              return ("TCP_KEEPIDLE");
+        case TCP_KEEPCNT:               return ("TCP_KEEPCNT");
+        case TCP_KEEPINTVL:             return ("TCP_KEEPINTVL");
 
         default:                        (void) snprintf(pri->code_buf,
                                             sizeof (pri->code_buf),
                                             "0x%lx", val);
                                         return (pri->code_buf);