]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/net/fib_rules.h
net 02/05: fib_rules: rename ifindex/ifname/FRA_IFNAME to iifindex/iifname/FRA_IIFNAME
[net-next-2.6.git] / include / net / fib_rules.h
index 22fb323cd85e9b2e450eb0256b9efb2598a83359..62bebcb2a51c99f557cc6de1044aae13aa76accf 100644 (file)
@@ -10,7 +10,7 @@
 struct fib_rule {
        struct list_head        list;
        atomic_t                refcnt;
-       int                     ifindex;
+       int                     iifindex;
        u32                     mark;
        u32                     mark_mask;
        u32                     pref;
@@ -19,7 +19,7 @@ struct fib_rule {
        u8                      action;
        u32                     target;
        struct fib_rule *       ctarget;
-       char                    ifname[IFNAMSIZ];
+       char                    iifname[IFNAMSIZ];
        struct rcu_head         rcu;
        struct net *            fr_net;
 };
@@ -67,7 +67,7 @@ struct fib_rules_ops {
 };
 
 #define FRA_GENERIC_POLICY \
-       [FRA_IFNAME]    = { .type = NLA_STRING, .len = IFNAMSIZ - 1 }, \
+       [FRA_IIFNAME]   = { .type = NLA_STRING, .len = IFNAMSIZ - 1 }, \
        [FRA_PRIORITY]  = { .type = NLA_U32 }, \
        [FRA_FWMARK]    = { .type = NLA_U32 }, \
        [FRA_FWMASK]    = { .type = NLA_U32 }, \