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