Lines Matching refs:iphdr
50 memcpy(iph + sizeof(struct iphdr), opt->__data, opt->optlen); in ip_options_build()
108 dopt->rr = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
122 dopt->ts = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
183 dopt->srr = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
190 dopt->cipso = dopt->optlen+sizeof(struct iphdr); in __ip_options_echo()
210 unsigned char *optptr = skb_network_header(skb) + sizeof(struct iphdr); in ip_options_fragment()
270 iph = optptr - sizeof(struct iphdr); in __ip_options_compile()
498 unsigned char *optptr = opt->__data + opt->srr - sizeof(struct iphdr); in ip_options_undo()
504 unsigned char *optptr = opt->__data + opt->rr - sizeof(struct iphdr); in ip_options_undo()
510 unsigned char *optptr = opt->__data + opt->ts - sizeof(struct iphdr); in ip_options_undo()
603 struct iphdr *iph = ip_hdr(skb); in ip_options_rcv_srr()