netstat 0.7.0

Cross-platform library to retrieve network sockets information.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use libc::*;

/*
 * From "linux/sock_diag.h"
 */

pub const SOCK_DIAG_BY_FAMILY: __u16 = 20;

/*
 * From "linux/inet_diag.h"
 */

pub type INET_DIAG_TYPE = c_int;
pub const INET_DIAG_INFO: INET_DIAG_TYPE = 2;