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

/system/core/libnetutils/
H A Dpacket.c23 #include <netinet/udp.h>
93 struct udphdr udp; local
103 ip.tot_len = htons(sizeof(ip) + sizeof(udp) + size);
113 udp.source = htons(sport);
114 udp.dest = htons(dport);
115 udp.len = htons(sizeof(udp) + size);
116 udp.check = 0;
123 temp = udp.len;
126 /* Add in the checksum for the udp heade
162 struct udphdr udp; member in struct:dhcp_packet
[all...]

Completed in 948 milliseconds