Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | module Darwin.POSIX.net [system] { module dl { header "net/if_dl.h" export * } module if { header "net/if.h" export * } module types { header "net/if_types.h" export * } } module Darwin.net [system] { #ifdef XNU_KERNEL_PRIVATE // The XNU_PLATFORM_MacOSX headers are in the public SDK for macOS, // but mastered out of the public SDK for the other OSes. #endif #ifdef XNU_PLATFORM_MacOSX module bpf { header "net/bpf.h" export * } module dlil { header "net/dlil.h" export * } #endif module ethernet { header "net/ethernet.h" export * } #ifdef XNU_PLATFORM_MacOSX module if_arp { header "net/if_arp.h" export * } module if_llc { header "net/if_llc.h" export * } module if_media { header "net/if_media.h" export * } module if_mib { header "net/if_mib.h" export * } module if_utun { header "net/if_utun.h" export * } #endif module if_var { header "net/if_var.h" export * } explicit module if_var_status { header "net/if_var_status.h" export * } #ifdef XNU_PLATFORM_MacOSX module kext_net { header "net/kext_net.h" export * } module ndrv { header "net/ndrv.h" export * } #endif module net_kev { header "net/net_kev.h" export * } module pfkeyv2 { header "net/pfkeyv2.h" export * } #ifdef XNU_PLATFORM_MacOSX module route { header "net/route.h" export * } #endif } |