Searched refs:protocol (Results 1 - 10 of 10) sorted by relevance

/system/bluetooth/tools/
H A Dsock_shutdown_test.c71 int protocol = -1; local
77 protocol = 0;
82 protocol = BTPROTO_RFCOMM;
87 protocol = BTPROTO_SCO;
92 protocol = BTPROTO_L2CAP;
97 protocol = 0;
102 ret = socket(family, typ, protocol);
H A Dasocket_test.c89 int protocol = -1; local
95 protocol = 0;
100 protocol = BTPROTO_RFCOMM;
105 protocol = BTPROTO_SCO;
110 protocol = BTPROTO_L2CAP;
115 protocol = 0;
120 ret = socket(family, typ, protocol);
H A Dsocktest.c88 int protocol = -1; local
94 protocol = 0;
99 protocol = BTPROTO_RFCOMM;
104 protocol = BTPROTO_SCO;
109 protocol = BTPROTO_L2CAP;
114 protocol = 0;
119 ret = socket(family, typ, protocol);
/system/netd/
H A DFirewallController.cpp104 int FirewallController::setEgressDestRule(const char* addr, int protocol, int port, argument
112 sprintf(protocolStr, "%d", protocol);
H A DMDnsSdListener.h128 uint32_t protocol, const char *hostname);
H A DMDnsSdListener.cpp270 const char *interfaceName, uint32_t protocol, const char *hostname) {
271 if (VDBG) ALOGD("getAddrInfo(%d, %s %d, %s)", requestId, interfaceName, protocol, hostname);
282 DNSServiceErrorType result = DNSServiceGetAddrInfo(ref, nativeFlags, interfaceInt, protocol,
483 int protocol = 0; // intelligient heuristic (both v4 + v6) local
484 getAddrInfo(cli, requestId, interfaceName, protocol, hostname);
269 getAddrInfo(SocketClient *cli, int requestId, const char *interfaceName, uint32_t protocol, const char *hostname) argument
/system/core/libnetutils/
H A Dpacket.c107 ip.protocol = IPPROTO_UDP;
192 } else if (packet.ip.protocol != IPPROTO_UDP) {
194 ALOGD("IP protocol (%d) is not UDP", packet.ip.protocol);
227 packet.ip.protocol = IPPROTO_UDP;
/system/core/fastboot/
H A DAndroid.mk21 LOCAL_SRC_FILES := protocol.c engine.c bootimg.c fastboot.c
/system/core/libnl_2/
H A Dnetlink.c248 int nl_connect(struct nl_sock *sk, int protocol) argument
255 sk->s_fd = socket(PF_NETLINK, SOCK_RAW, protocol);
/system/core/adb/
H A Dsysdeps.h445 static __inline__ int unix_socketpair( int d, int type, int protocol, int sv[2] ) argument
447 return socketpair( d, type, protocol, sv );

Completed in 77 milliseconds