We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b806bf2 commit ca3ed0cCopy full SHA for ca3ed0c
src/unix/linux_like/linux/mod.rs
@@ -792,6 +792,19 @@ s_no_extra_traits! {
792
pub ifr_ifru: ::sockaddr,
793
}
794
795
+ pub union __c_anonymous_ifc_ifcu {
796
+ ifcu_buf: *mut ::c_char,
797
+ ifcu_req: *mut ::ifreq,
798
+ }
799
+
800
+ /* Structure used in SIOCGIFCONF request. Used to retrieve interface
801
+ configuration for machine (useful for programs which must know all
802
+ networks accessible). */
803
+ pub struct ifconf {
804
+ pub ifc_len: ::c_int, /* Size of buffer. */
805
+ pub ifc_ifcu: __c_anonymous_ifc_ifcu,
806
807
808
pub struct hwtstamp_config {
809
pub flags: ::c_int,
810
pub tx_type: ::c_int,
0 commit comments