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