Lines Matching refs:hoffset
276 enum pedit_header_type htype, int *hoffset) in pedit_skb_hdr_offset() argument
283 *hoffset = skb_mac_offset(skb); in pedit_skb_hdr_offset()
290 *hoffset = skb_network_offset(skb); in pedit_skb_hdr_offset()
296 *hoffset = skb_transport_offset(skb); in pedit_skb_hdr_offset()
331 int hoffset; in tcf_pedit_act() local
342 rc = pedit_skb_hdr_offset(skb, htype, &hoffset); in tcf_pedit_act()
352 if (!offset_valid(skb, hoffset + tkey->at)) { in tcf_pedit_act()
354 hoffset + tkey->at); in tcf_pedit_act()
357 d = skb_header_pointer(skb, hoffset + tkey->at, in tcf_pedit_act()
369 if (!offset_valid(skb, hoffset + offset)) { in tcf_pedit_act()
371 hoffset + offset); in tcf_pedit_act()
375 ptr = skb_header_pointer(skb, hoffset + offset, in tcf_pedit_act()
395 skb_store_bits(skb, hoffset + offset, ptr, 4); in tcf_pedit_act()