net: Add function for parsing the header length out of linear ethernet frames
[sfrench/cifs-2.6.git] / include / linux / skbuff.h
index 1cf0cfaef10a632ebb384a8e2c582b1cf4d53936..07c9fdd0c1266a72f3c1a4536586b5109cbe4f27 100644 (file)
@@ -3218,7 +3218,9 @@ bool skb_partial_csum_set(struct sk_buff *skb, u16 start, u16 off);
 
 int skb_checksum_setup(struct sk_buff *skb, bool recalculate);
 
-u32 __skb_get_poff(const struct sk_buff *skb);
+u32 skb_get_poff(const struct sk_buff *skb);
+u32 __skb_get_poff(const struct sk_buff *skb, void *data,
+                  const struct flow_keys *keys, int hlen);
 
 /**
  * skb_head_is_locked - Determine if the skb->head is locked down