1 /* adv-ctl-common.h 2 * 3 * Copyright (c) 2019-2023 Apple Inc. All rights reserved. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * https://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 * 17 * This file contains Macros shared by service registration code. 18 */ 19 20 21 #ifndef XPC_CLIENT_ADVERTISING_PROXY_H 22 #define XPC_CLIENT_ADVERTISING_PROXY_H 23 24 #define kDNSSDAdvertisingProxyResponse 0 25 #define kDNSSDAdvertisingProxyEnable 1 26 #define kDNSSDAdvertisingProxyListServiceTypes 2 27 #define kDNSSDAdvertisingProxyListServices 3 28 #define kDNSSDAdvertisingProxyListHosts 4 29 #define kDNSSDAdvertisingProxyGetHost 5 30 #define kDNSSDAdvertisingProxyFlushEntries 6 31 #define kDNSSDAdvertisingProxyBlockService 7 32 #define kDNSSDAdvertisingProxyUnblockService 8 33 #define kDNSSDAdvertisingProxyRegenerateULA 9 34 #define kDNSSDAdvertisingProxyAdvertisePrefix 10 35 #define kDNSSDAdvertisingProxyStop 11 36 #define kDNSSDAdvertisingProxyGetULA 12 37 #define kDNSSDAdvertisingProxyDisableReplication 13 38 #define kDNSSDAdvertisingProxyDropSrplConnection 14 39 #define kDNSSDAdvertisingProxyUndropSrplConnection 15 40 #define kDNSSDAdvertisingProxyDropSrplAdvertisement 16 41 #define kDNSSDAdvertisingProxyUndropSrplAdvertisement 17 42 #define kDNSSDAdvertisingProxyAddPrefix 18 43 #define kDNSSDAdvertisingProxyRemovePrefix 19 44 #define kDNSSDAdvertisingProxyStartDroppingPushConnections 20 45 #define kDNSSDAdvertisingProxyAddNAT64Prefix 21 46 #define kDNSSDAdvertisingProxyRemoveNAT64Prefix 22 47 #define kDNSSDAdvertisingProxyStartBreakingTimeValidation 23 48 #define kDNSSDAdvertisingProxySetVariable 24 49 #define kDNSSDAdvertisingProxyBlockAnycastService 25 50 #define kDNSSDAdvertisingProxyUnblockAnycastService 26 51 52 #endif /* XPC_CLIENT_ADVERTISING_PROXY_H */ 53 54 // Local Variables: 55 // mode: C 56 // tab-width: 4 57 // c-file-style: "bsd" 58 // c-basic-offset: 4 59 // fill-column: 108 60 // indent-tabs-mode: nil 61 // End: 62