xref: /xnu-11215/bsd/netinet6/netinet6.modulemap (revision 5c2921b0)
1module Darwin.netinet6 [system] {
2  #ifdef XNU_KERNEL_PRIVATE
3  // The XNU_PLATFORM_MacOSX headers are in the public SDK for macOS,
4  // but mastered out of the public SDK for the other OSes.
5  #endif
6  #ifdef XNU_PLATFORM_MacOSX
7  module ah {
8    header "netinet6/ah.h"
9    export *
10  }
11
12  module esp {
13    header "netinet6/esp.h"
14    export *
15  }
16
17  module in6_var {
18    header "netinet6/in6_var.h"
19    export *
20  }
21
22  module ipcomp {
23    header "netinet6/ipcomp.h"
24    export *
25  }
26
27  #endif
28  module ipsec {
29    header "netinet6/ipsec.h"
30    export *
31  }
32
33  #ifdef XNU_PLATFORM_MacOSX
34  module raw_ip6 {
35    header "netinet6/raw_ip6.h"
36    export *
37  }
38
39  #endif
40  module scope6_var {
41    header "netinet6/scope6_var.h"
42    export *
43  }
44  #ifdef XNU_KERNEL_PRIVATE
45  // nd6.h doesn't compile because it uses struct prf_ra which
46  // only exists in the context of struct in6_prflags.
47  #endif
48  #ifdef XNU_PLATFORM_MacOSX
49
50  exclude header "netinet6/nd6.h"
51  #endif
52}
53