Lines Matching refs:iphdr
50 memcpy(iph + sizeof(struct iphdr), opt->__data, opt->optlen); in ip_options_build()
95 dopt->rr = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
109 dopt->ts = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
170 dopt->srr = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
177 dopt->cipso = dopt->optlen+sizeof(struct iphdr); in __ip_options_echo()
197 unsigned char *optptr = skb_network_header(skb) + sizeof(struct iphdr); in ip_options_fragment()
257 iph = optptr - sizeof(struct iphdr); in __ip_options_compile()
485 unsigned char *optptr = opt->__data + opt->srr - sizeof(struct iphdr); in ip_options_undo()
491 unsigned char *optptr = opt->__data + opt->rr - sizeof(struct iphdr); in ip_options_undo()
497 unsigned char *optptr = opt->__data + opt->ts - sizeof(struct iphdr); in ip_options_undo()
590 struct iphdr *iph = ip_hdr(skb); in ip_options_rcv_srr()