diff --git a/bindings/perl/Sigar.xs b/bindings/perl/Sigar.xs index 3bd0615f..2c06b02b 100644 --- a/bindings/perl/Sigar.xs +++ b/bindings/perl/Sigar.xs @@ -154,6 +154,29 @@ static void boot_Sigar_constants(pTHX) XS_SIGAR_CONST_IV(IFF_PROMISC); XS_SIGAR_CONST_IV(IFF_ALLMULTI); XS_SIGAR_CONST_IV(IFF_MULTICAST); + + XS_SIGAR_CONST_IV(NETCONN_CLIENT); + XS_SIGAR_CONST_IV(NETCONN_SERVER); + XS_SIGAR_CONST_IV(NETCONN_TCP); + XS_SIGAR_CONST_IV(NETCONN_UDP); + XS_SIGAR_CONST_IV(NETCONN_RAW); + XS_SIGAR_CONST_IV(NETCONN_UNIX); + + XS_SIGAR_CONST_IV(TCP_ESTABLISHED); + XS_SIGAR_CONST_IV(TCP_SYN_SENT); + XS_SIGAR_CONST_IV(TCP_SYN_RECV); + XS_SIGAR_CONST_IV(TCP_FIN_WAIT1); + XS_SIGAR_CONST_IV(TCP_FIN_WAIT2); + XS_SIGAR_CONST_IV(TCP_TIME_WAIT); + XS_SIGAR_CONST_IV(TCP_CLOSE); + XS_SIGAR_CONST_IV(TCP_CLOSE_WAIT); + XS_SIGAR_CONST_IV(TCP_LAST_ACK); + XS_SIGAR_CONST_IV(TCP_LISTEN); + XS_SIGAR_CONST_IV(TCP_CLOSING); + XS_SIGAR_CONST_IV(TCP_IDLE); + XS_SIGAR_CONST_IV(TCP_BOUND); + XS_SIGAR_CONST_IV(TCP_UNKNOWN); + XS_SIGAR_CONST_PV(NULL_HWADDR); }