mirror of
https://github.com/DefinedNet/mobile_nebula.git
synced 2025-01-18 19:27:05 +00:00
fcf21f6f6b
John found an issue in gomobile that seems to be the culprit of one of these issues: https://github.com/golang/go/issues/53316#issuecomment-2407626810
17 lines
363 B
C
17 lines
363 B
C
#include <stdint.h>
|
|
#include <sys/types.h>
|
|
|
|
/* <sys/kern_control.h> */
|
|
#define CTLIOCGINFO 0xc0644e03UL
|
|
struct ctl_info {
|
|
u_int32_t ctl_id;
|
|
char ctl_name[96];
|
|
};
|
|
struct sockaddr_ctl {
|
|
u_char sc_len;
|
|
u_char sc_family;
|
|
u_int16_t ss_sysaddr;
|
|
u_int32_t sc_id;
|
|
u_int32_t sc_unit;
|
|
u_int32_t sc_reserved[5];
|
|
};
|