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