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: NEric Dumazet <eric.dumazet@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
include/net/flow_keys.h
0 → 100644
net/core/flow_dissector.c
0 → 100644
想要评论请 注册 或 登录