Home
last modified time | relevance | path

Searched refs:udp (Results 1 – 7 of 7) sorted by relevance

/system/core/libnetutils/
Dpacket.c93 struct udphdr udp; in send_packet() local
103 ip.tot_len = htons(sizeof(ip) + sizeof(udp) + size); in send_packet()
113 udp.source = htons(sport); in send_packet()
114 udp.dest = htons(dport); in send_packet()
115 udp.len = htons(sizeof(udp) + size); in send_packet()
116 udp.check = 0; in send_packet()
123 temp = udp.len; in send_packet()
127 udpsum = checksum(&udp, sizeof(udp), udpsum); in send_packet()
131 udp.check = finish_sum(udpsum); in send_packet()
135 iov[1].iov_base = (char *)&udp; in send_packet()
[all …]
/system/core/fastboot/
DAndroid.mk36 udp.cpp \
123 udp.cpp \
Dudp.h38 namespace udp {
Dudp_test.cpp24 using namespace udp;
25 using namespace udp::internal;
Dudp.cpp45 namespace udp { namespace
Dfastboot.cpp264 port = udp::kDefaultPort; in open_device()
284 transport = udp::Connect(host, port, &error).release(); in open_device()
/system/core/adb/
Dprotocol.txt119 * "udp:<host>:<port>" - host may be omitted to indicate localhost