commit | 0744dd00c1b1be99a25b62b1b48df440e82e57e0 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Mon Nov 28 05:22:18 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 28 19:09:07 2011 -0500 |
tree | 94bff02f61657c4b02709f472dcb56f9dc927a18 | |
parent | de0396f4003a24a57875b35f2996fdaa47bc1d0d [diff] |
net: introduce skb_flow_dissect() We use at least two flow dissectors in network stack, with known limitations and code duplication. Introduce skb_flow_dissect() to factorize this, highly inspired from existing dissector from __skb_get_rxhash() Note : We extensively use skb_header_pointer(), this permits us to not touch skb at all. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>