Searched defs:protocol (Results 1 - 7 of 7) sorted by relevance

/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.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/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/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/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 151 milliseconds