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