#include #include #include #ifdef __APPLE__ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef __cplusplus extern "C" { #endif /* These complex macros don't translate well with Rust bindgen, so compute them with the C compiler and export them. */ extern const unsigned long c_BIOCSBLEN; extern const unsigned long c_BIOCIMMEDIATE; extern const unsigned long c_BIOCSSEESENT; extern const unsigned long c_BIOCSETIF; extern const unsigned long c_BIOCSHDRCMPLT; extern const unsigned long c_BIOCPROMISC; extern const unsigned long c_SIOCGIFINFO_IN6; extern const unsigned long c_SIOCSIFINFO_FLAGS; extern const unsigned long c_SIOCAUTOCONF_START; extern const unsigned long c_SIOCAUTOCONF_STOP; #ifdef __cplusplus } #endif #endif