Lines Matching refs:hoffset
275 enum pedit_header_type htype, int *hoffset) in pedit_skb_hdr_offset() argument
282 *hoffset = skb_mac_offset(skb); in pedit_skb_hdr_offset()
289 *hoffset = skb_network_offset(skb); in pedit_skb_hdr_offset()
295 *hoffset = skb_transport_offset(skb); in pedit_skb_hdr_offset()
330 int hoffset; in tcf_pedit_act() local
341 rc = pedit_skb_hdr_offset(skb, htype, &hoffset); in tcf_pedit_act()
351 if (!offset_valid(skb, hoffset + tkey->at)) { in tcf_pedit_act()
353 hoffset + tkey->at); in tcf_pedit_act()
356 d = skb_header_pointer(skb, hoffset + tkey->at, in tcf_pedit_act()
368 if (!offset_valid(skb, hoffset + offset)) { in tcf_pedit_act()
370 hoffset + offset); in tcf_pedit_act()
374 ptr = skb_header_pointer(skb, hoffset + offset, in tcf_pedit_act()
394 skb_store_bits(skb, hoffset + offset, ptr, 4); in tcf_pedit_act()