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