Lines Matching defs:uh
165 struct udphdr* uh;
171 uh = (struct udphdr*) ((char*)iph + 20);
173 if ( htons(uh->uh_dport) != DPORT)
181 *port = ntohs(uh->uh_sport);
232 struct udphdr* uh;
258 uh = (struct udphdr*) ((char*)iph + 20);
259 uh->uh_sport = htons(DPORT);
260 uh->uh_dport = htons(port);
261 uh->uh_ulen = htons(8+dlen);
262 uh->uh_sum = 0;
264 ptr = (char*) uh + 8;
268 uh->uh_sum = udp_checksum((unsigned char*)uh, 8+dlen,