Lines Matching refs:hoffset
291 enum pedit_header_type htype, int *hoffset) in pedit_skb_hdr_offset() argument
298 *hoffset = skb_mac_offset(skb); in pedit_skb_hdr_offset()
305 *hoffset = skb_network_offset(skb); in pedit_skb_hdr_offset()
311 *hoffset = skb_transport_offset(skb); in pedit_skb_hdr_offset()
351 int hoffset; in tcf_pedit_act() local
362 rc = pedit_skb_hdr_offset(skb, htype, &hoffset); in tcf_pedit_act()
372 if (!offset_valid(skb, hoffset + tkey->at)) { in tcf_pedit_act()
374 hoffset + tkey->at); in tcf_pedit_act()
377 d = skb_header_pointer(skb, hoffset + tkey->at, in tcf_pedit_act()
389 if (!offset_valid(skb, hoffset + offset)) { in tcf_pedit_act()
391 hoffset + offset); in tcf_pedit_act()
395 ptr = skb_header_pointer(skb, hoffset + offset, in tcf_pedit_act()
415 skb_store_bits(skb, hoffset + offset, ptr, 4); in tcf_pedit_act()