OSDN Git Service

net: change name of flow_dissector header to match the .c file name
authorJiri Pirko <jiri@resnulli.us>
Tue, 12 May 2015 12:56:07 +0000 (14:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 May 2015 19:19:45 +0000 (15:19 -0400)
add couple of empty lines on the way.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/ethernet/cisco/enic/enic_clsf.c
include/linux/skbuff.h
include/net/flow_dissector.h [moved from include/net/flow_keys.h with 90% similarity]
include/net/ip.h
include/net/ipv6.h
net/core/flow_dissector.c
net/sched/cls_flow.c
net/sched/sch_choke.c

index a2e25de..fe7c387 100644 (file)
@@ -76,7 +76,7 @@
 #include <net/netns/generic.h>
 #include <net/pkt_sched.h>
 #include <linux/rculist.h>
-#include <net/flow_keys.h>
+#include <net/flow_dissector.h>
 #include <net/switchdev.h>
 #include <net/bonding.h>
 #include <net/bond_3ad.h>
index 0be6850..380f049 100644 (file)
@@ -5,7 +5,7 @@
 #include <linux/in.h>
 #include <linux/types.h>
 #include <linux/skbuff.h>
-#include <net/flow_keys.h>
+#include <net/flow_dissector.h>
 #include "enic_res.h"
 #include "enic_clsf.h"
 
index c0b574a..e35c2b1 100644 (file)
@@ -34,7 +34,7 @@
 #include <linux/dma-mapping.h>
 #include <linux/netdev_features.h>
 #include <linux/sched.h>
-#include <net/flow_keys.h>
+#include <net/flow_dissector.h>
 
 /* A. Checksumming of received packets by device.
  *
similarity index 90%
rename from include/net/flow_keys.h
rename to include/net/flow_dissector.h
index 6d6ef62..5e99a7b 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _NET_FLOW_KEYS_H
-#define _NET_FLOW_KEYS_H
+#ifndef _NET_FLOW_DISSECTOR_H
+#define _NET_FLOW_DISSECTOR_H
 
 /* struct flow_keys:
  *     @src: source ip address in case of IPv4
@@ -29,17 +29,24 @@ struct flow_keys {
 
 bool __skb_flow_dissect(const struct sk_buff *skb, struct flow_keys *flow,
                        void *data, __be16 proto, int nhoff, int hlen);
-static inline bool skb_flow_dissect(const struct sk_buff *skb, struct flow_keys *flow)
+
+static inline bool skb_flow_dissect(const struct sk_buff *skb,
+                                   struct flow_keys *flow)
 {
        return __skb_flow_dissect(skb, flow, NULL, 0, 0, 0);
 }
+
 __be32 __skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto,
                            void *data, int hlen_proto);
-static inline __be32 skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto)
+
+static inline __be32 skb_flow_get_ports(const struct sk_buff *skb,
+                                       int thoff, u8 ip_proto)
 {
        return __skb_flow_get_ports(skb, thoff, ip_proto, NULL, 0);
 }
+
 u32 flow_hash_from_keys(struct flow_keys *keys);
+
 unsigned int flow_get_hlen(const unsigned char *data, unsigned int max_len,
                           __be16 protocol);
 
index d14af7e..562eb65 100644 (file)
@@ -31,7 +31,7 @@
 #include <net/route.h>
 #include <net/snmp.h>
 #include <net/flow.h>
-#include <net/flow_keys.h>
+#include <net/flow_dissector.h>
 
 struct sock;
 
index 53d25ef..9932b86 100644 (file)
@@ -19,7 +19,7 @@
 #include <net/if_inet6.h>
 #include <net/ndisc.h>
 #include <net/flow.h>
-#include <net/flow_keys.h>
+#include <net/flow_dissector.h>
 #include <net/snmp.h>
 
 #define SIN6_LEN_RFC2133       24
index d3acc4d..eaa86b5 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/if_tunnel.h>
 #include <linux/if_pppox.h>
 #include <linux/ppp_defs.h>
-#include <net/flow_keys.h>
+#include <net/flow_dissector.h>
 #include <scsi/fc/fc_fcoe.h>
 
 /* copy saddr & daddr, possibly using 64bit load/store
index a620c4e..4c5a922 100644 (file)
@@ -26,7 +26,7 @@
 #include <net/pkt_cls.h>
 #include <net/ip.h>
 #include <net/route.h>
-#include <net/flow_keys.h>
+#include <net/flow_dissector.h>
 
 #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)
 #include <net/netfilter/nf_conntrack.h>
index dfe3da7..2624e99 100644 (file)
@@ -18,7 +18,7 @@
 #include <net/pkt_sched.h>
 #include <net/inet_ecn.h>
 #include <net/red.h>
-#include <net/flow_keys.h>
+#include <net/flow_dissector.h>
 
 /*
    CHOKe stateless AQM for fair bandwidth allocation