Searched refs:protocol (Results 1 - 7 of 7) 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/core/libnetutils/
H A Dpacket.c107 ip.protocol = IPPROTO_UDP;
192 } else if (packet.ip.protocol != IPPROTO_UDP) {
194 LOGD("IP protocol (%d) is not UDP", packet.ip.protocol);
227 packet.ip.protocol = IPPROTO_UDP;
/system/core/fastboot/
H A DAndroid.mk20 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.h441 static __inline__ int unix_socketpair( int d, int type, int protocol, int sv[2] ) argument
443 return socketpair( d, type, protocol, sv );

Completed in 115 milliseconds