2 #ifndef _IPMONITOR_CONTROL_PRIVATE_H
3 #define _IPMONITOR_CONTROL_PRIVATE_H
5 #define kIPMonitorControlServerName \
6 "com.apple.SystemConfiguration.IPMonitorControl"
8 typedef CF_ENUM(uint32_t, IPMonitorControlRequestType
) {
9 kIPMonitorControlRequestTypeNone
= 0,
10 kIPMonitorControlRequestTypeSetInterfaceRank
= 1,
11 kIPMonitorControlRequestTypeGetInterfaceRank
= 2,
15 * kIPMonitorControlRequestKey*
16 * - keys used to communicate a request to the server
18 #define kIPMonitorControlRequestKeyType "Type"
19 #define kIPMonitorControlRequestKeyInterfaceName "InterfaceName"
20 #define kIPMonitorControlRequestKeyPrimaryRank "PrimaryRank"
23 * kIPMonitorControlResponseKey*
24 * - keys used to communicate the response from the server
26 #define kIPMonitorControlResponseKeyError "Error"
27 #define kIPMonitorControlResponseKeyPrimaryRank "PrimaryRank"
29 #endif /* _IPMONITOR_CONTROL_PRIVATE_H */