sockaddr_nl for netlink sockets
This commit is contained in:
parent
e7ff66ba3d
commit
440bd53892
@ -118,6 +118,13 @@ s! {
|
||||
pub f_namemax: ::c_ulong,
|
||||
__f_spare: [::c_int; 6],
|
||||
}
|
||||
|
||||
pub struct sockaddr_nl {
|
||||
pub nl_family: ::sa_family_t,
|
||||
nl_pad: ::c_ushort,
|
||||
pub nl_pid: u32,
|
||||
pub nl_groups: u32
|
||||
}
|
||||
}
|
||||
|
||||
pub const FILENAME_MAX: ::c_uint = 4096;
|
||||
|
Loading…
Reference in New Issue
Block a user