Searched refs:udp (Results 1 – 7 of 7) sorted by relevance
93 struct udphdr udp; in send_packet() local103 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 …]
36 udp.cpp \123 udp.cpp \
38 namespace udp {
24 using namespace udp;25 using namespace udp::internal;
45 namespace udp { namespace
264 port = udp::kDefaultPort; in open_device()284 transport = udp::Connect(host, port, &error).release(); in open_device()
119 * "udp:<host>:<port>" - host may be omitted to indicate localhost