Searched refs:kDNSServiceProtocol_UDP (Results 1 - 3 of 3) sorted by relevance

/external/mdnsresponder/Clients/
H A Ddns-sd.c305 else if (!strcasecmp(s, "udp" )) return(kDNSServiceProtocol_UDP);
307 else if (!strcasecmp(s, "udptcp" )) return(kDNSServiceProtocol_UDP | kDNSServiceProtocol_TCP);
308 else if (!strcasecmp(s, "tcpudp" )) return(kDNSServiceProtocol_UDP | kDNSServiceProtocol_TCP);
/external/mdnsresponder/mDNSShared/
H A Ddns_sd.h383 kDNSServiceProtocol_UDP = 0x10, enumerator in enum:__anon13604
1874 * protocol: Will be kDNSServiceProtocol_UDP or kDNSServiceProtocol_TCP or both.
1919 * protocol: To request a port mapping, pass in kDNSServiceProtocol_UDP, or kDNSServiceProtocol_TCP,
1920 * or (kDNSServiceProtocol_UDP | kDNSServiceProtocol_TCP) to map both.
H A Duds_daemon.c3236 #define DNSServiceProtocol(X) ((X) == NATOp_AddrRequest ? 0 : (X) == NATOp_MapUDP ? kDNSServiceProtocol_UDP : kDNSServiceProtocol_TCP)
3321 if (!(protocol & (kDNSServiceProtocol_UDP | kDNSServiceProtocol_TCP))) return(mStatus_BadParamErr);
3324 request->u.pm.NATinfo.Protocol = !protocol ? NATOp_AddrRequest : (protocol == kDNSServiceProtocol_UDP) ? NATOp_MapUDP : NATOp_MapTCP;

Completed in 130 milliseconds