Lines Matching defs:udp
154 * The udp port usage may appear bizarre (well, ok, it is bizarre).
156 * data from the original datagram. 8 bytes is the size of a udp
159 * udp header (the ip id could be used but there's no way to
185 * sending a loose-source-routed udp datagram through the destination
217 #include <netinet/udp.h>
317 int sndsock; /* send (udp) socket file descriptor */
421 "udp",
1495 struct udphdr *const udp = (struct udphdr *) data;
1497 return (ntohs(udp->uh_sport) == ident + (fixedPort ? seq : 0) &&
1498 ntohs(udp->uh_dport) == port + (fixedPort ? 0 : seq));
1521 struct udphdr *const udp = (struct udphdr *) data;
1523 return (ntohs(udp->uh_sport) == ident + (fixedPort ? seq : 0) &&
1524 ntohs(udp->uh_dport) == port + (fixedPort ? 0 : seq));