diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-11-28 05:22:18 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-28 19:09:07 -0500 |
commit | 0744dd00c1b1be99a25b62b1b48df440e82e57e0 (patch) | |
tree | 94bff02f61657c4b02709f472dcb56f9dc927a18 /net/core/Makefile | |
parent | de0396f4003a24a57875b35f2996fdaa47bc1d0d (diff) | |
download | linux-0744dd00c1b1be99a25b62b1b48df440e82e57e0.tar.gz linux-0744dd00c1b1be99a25b62b1b48df440e82e57e0.tar.bz2 linux-0744dd00c1b1be99a25b62b1b48df440e82e57e0.zip |
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>
Diffstat (limited to 'net/core/Makefile')
-rw-r--r-- | net/core/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/Makefile b/net/core/Makefile index 3606d40aae62..c4ecc864020f 100644 --- a/net/core/Makefile +++ b/net/core/Makefile @@ -3,7 +3,7 @@ # obj-y := sock.o request_sock.o skbuff.o iovec.o datagram.o stream.o scm.o \ - gen_stats.o gen_estimator.o net_namespace.o secure_seq.o + gen_stats.o gen_estimator.o net_namespace.o secure_seq.o flow_dissector.o obj-$(CONFIG_SYSCTL) += sysctl_net_core.o |