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