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