X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=include%2Fnet%2Ffib_rules.h;fp=include%2Fnet%2Ffib_rules.h;h=d4e875a58f8b5d99dcf5af95de9e5a103d818b90;hb=1b038a5e60c7812f19818e8a5df96d029e49c38f;hp=62bebcb2a51c99f557cc6de1044aae13aa76accf;hpb=491deb24bf5bf7124141287aaf02c3219783ceab;p=safe%2Fjmp%2Flinux-2.6 diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h index 62bebcb..d4e875a 100644 --- a/include/net/fib_rules.h +++ b/include/net/fib_rules.h @@ -11,6 +11,7 @@ struct fib_rule { struct list_head list; atomic_t refcnt; int iifindex; + int oifindex; u32 mark; u32 mark_mask; u32 pref; @@ -20,6 +21,7 @@ struct fib_rule { u32 target; struct fib_rule * ctarget; char iifname[IFNAMSIZ]; + char oifname[IFNAMSIZ]; struct rcu_head rcu; struct net * fr_net; }; @@ -68,6 +70,7 @@ struct fib_rules_ops { #define FRA_GENERIC_POLICY \ [FRA_IIFNAME] = { .type = NLA_STRING, .len = IFNAMSIZ - 1 }, \ + [FRA_OIFNAME] = { .type = NLA_STRING, .len = IFNAMSIZ - 1 }, \ [FRA_PRIORITY] = { .type = NLA_U32 }, \ [FRA_FWMARK] = { .type = NLA_U32 }, \ [FRA_FWMASK] = { .type = NLA_U32 }, \