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