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