Thread (6 messages) flat view 6 messages, 2 authors, 2014-09-05

Re: [PATCH net-next 1/3] net: Add function for parsing the header length out of linear ethernet frames

From: Alexei Starovoitov <hidden>
Date: 2014-09-05 20:02:20

On Fri, Sep 5, 2014 at 11:10 AM, Alexander Duyck
[off-list ref] wrote:
This patch updates some of the flow_dissector api so that it can be used to
parse the length of ethernet buffers stored in fragments.  Most of the
changes needed were to __skb_get_poff as it needed to be updated to support
sending a linear buffer instead of a 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);
three underscores and not a static function?
May be we need to come with a proper name for it.
Two easy to confuse with two underscore version...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help