xref: /xnu-8020.121.3/bsd/net/net.modulemap (revision fdd8201d7b966f0c3ea610489d29bd841d358941)
1module Darwin.POSIX.net [system] {
2  module dl {
3    header "net/if_dl.h"
4    export *
5  }
6
7  module if {
8    header "net/if.h"
9    export *
10  }
11
12  module types {
13    header "net/if_types.h"
14    export *
15  }
16}
17
18module Darwin.net [system] {
19  #ifdef XNU_KERNEL_PRIVATE
20  // The PLATFORM_MacOSX headers are in the public SDK for macOS,
21  // but mastered out of the public SDK for the other OSes.
22  #endif
23  #ifdef PLATFORM_MacOSX
24  module bpf {
25    header "net/bpf.h"
26    export *
27  }
28
29  module dlil {
30    header "net/dlil.h"
31    export *
32  }
33
34  #endif
35  module ethernet {
36    header "net/ethernet.h"
37    export *
38  }
39
40  #ifdef PLATFORM_MacOSX
41  module if_arp {
42    header "net/if_arp.h"
43    export *
44  }
45
46  module if_llc {
47    header "net/if_llc.h"
48    export *
49  }
50
51  module if_media {
52    header "net/if_media.h"
53    export *
54  }
55
56  module if_mib {
57    header "net/if_mib.h"
58    export *
59  }
60
61  module if_utun {
62    header "net/if_utun.h"
63    export *
64  }
65
66  #endif
67  module if_var {
68    header "net/if_var.h"
69    export *
70  }
71
72  #ifdef PLATFORM_MacOSX
73  module kext_net {
74    header "net/kext_net.h"
75    export *
76  }
77
78  module ndrv {
79    header "net/ndrv.h"
80    export *
81  }
82
83  #endif
84  module net_kev {
85    header "net/net_kev.h"
86    export *
87  }
88
89  module pfkeyv2 {
90    header "net/pfkeyv2.h"
91    export *
92  }
93  #ifdef PLATFORM_MacOSX
94
95  module route {
96    header "net/route.h"
97    export *
98  }
99  #endif
100}
101