Print this page
dccp: stats


 450 
 451 
 452 typedef struct udp6Entry_named_kstat {
 453         kstat_named_t localAddress;
 454         kstat_named_t localPort;
 455         kstat_named_t ifIndex;
 456         kstat_named_t state;
 457         kstat_named_t remoteAddress;
 458         kstat_named_t remotePort;
 459 } udp6Entry_named_kstat_t;
 460 
 461 
 462 typedef struct rawip_named_kstat {
 463         kstat_named_t inDatagrams;
 464         kstat_named_t inCksumErrs;
 465         kstat_named_t inErrors;
 466         kstat_named_t outDatagrams;
 467         kstat_named_t outErrors;
 468 } rawip_named_kstat_t;
 469 






 470 
 471 #define NUM_OF_FIELDS(S)        (sizeof (S) / sizeof (kstat_named_t))
 472 
 473 #ifdef  __cplusplus
 474 }
 475 #endif
 476 
 477 #endif  /* _INET_KSTATCOM_H */


 450 
 451 
 452 typedef struct udp6Entry_named_kstat {
 453         kstat_named_t localAddress;
 454         kstat_named_t localPort;
 455         kstat_named_t ifIndex;
 456         kstat_named_t state;
 457         kstat_named_t remoteAddress;
 458         kstat_named_t remotePort;
 459 } udp6Entry_named_kstat_t;
 460 
 461 
 462 typedef struct rawip_named_kstat {
 463         kstat_named_t inDatagrams;
 464         kstat_named_t inCksumErrs;
 465         kstat_named_t inErrors;
 466         kstat_named_t outDatagrams;
 467         kstat_named_t outErrors;
 468 } rawip_named_kstat_t;
 469 
 470 typedef struct dccp_named_kstat {
 471         kstat_named_t activeOpens;
 472         kstat_named_t passiveOpens;
 473         kstat_named_t inSegs;
 474         kstat_named_t outSegs;
 475 } dccp_named_kstat_t;
 476 
 477 #define NUM_OF_FIELDS(S)        (sizeof (S) / sizeof (kstat_named_t))
 478 
 479 #ifdef  __cplusplus
 480 }
 481 #endif
 482 
 483 #endif  /* _INET_KSTATCOM_H */