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