Lines Matching refs:udp
114 # include <linux/udp.h>
126 # include <netinet/udp.h>
244 /* Lucent IKE in UDP encapsulation */
246 struct udphdr *udp;
250 udp = (struct udphdr *)&x.lbuf[0];
251 if (ntohs(udp->dest) == 501) {
252 ip = (struct iphdr *)(x.lbuf + sizeof(*udp));
253 extralen += sizeof(*udp) + ip->ihl;
258 udp = (struct udphdr *)&x.lbuf[0];
259 if (ntohs(udp->uh_dport) == 501) {
260 ip = (struct ip *)(x.lbuf + sizeof(*udp));
261 extralen += sizeof(*udp) + ip->ip_hl;
360 "src port == 0 (valid as UDP but not with IKE)\n");