xref: /xnu-11215/bsd/net/net.modulemap (revision 5c2921b0)
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 XNU_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 XNU_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 XNU_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  explicit module if_var_status {
73    header "net/if_var_status.h"
74    export *
75  }
76
77  #ifdef XNU_PLATFORM_MacOSX
78  module kext_net {
79    header "net/kext_net.h"
80    export *
81  }
82
83  module ndrv {
84    header "net/ndrv.h"
85    export *
86  }
87
88  #endif
89  module net_kev {
90    header "net/net_kev.h"
91    export *
92  }
93
94  module pfkeyv2 {
95    header "net/pfkeyv2.h"
96    export *
97  }
98  #ifdef XNU_PLATFORM_MacOSX
99
100  module route {
101    header "net/route.h"
102    export *
103  }
104  #endif
105}
106