Lines Matching defs:iphdr
362 struct iphdr *iphdr,
365 if (iphdr->version != 4 || iphdr->protocol != IPPROTO_UDP)
375 struct iphdr *iphdr;
384 iphdr = ip_hdr(skb);
387 return get_ptp_header_l4(skb, iphdr, udphdr);
394 struct iphdr *iphdr;
399 iphdr = (struct iphdr *)skb->data;
400 udphdr = (struct udphdr *)(skb->data + iphdr->ihl * 4);
402 return get_ptp_header_l4(skb, iphdr, udphdr);