net: Add flowi6_* member helper macros.
authorDavid S. Miller <davem@davemloft.net>
Sat, 12 Mar 2011 07:30:50 +0000 (02:30 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Mar 2011 23:08:52 +0000 (15:08 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow.h

index 3e4630ebde32cf030b1530d6481edecaefa082e2..8d5b402d600af3acfc2a0ff2d4519b1d74b89127 100644 (file)
@@ -65,6 +65,14 @@ struct flowi4 {
 
 struct flowi6 {
        struct flowi_common     __fl_common;
+#define flowi6_oif             __fl_common.flowic_oif
+#define flowi6_iif             __fl_common.flowic_iif
+#define flowi6_mark            __fl_common.flowic_mark
+#define flowi6_tos             __fl_common.flowic_tos
+#define flowi6_scope           __fl_common.flowic_scope
+#define flowi6_proto           __fl_common.flowic_proto
+#define flowi6_flags           __fl_common.flowic_flags
+#define flowi6_secid           __fl_common.flowic_secid
        struct in6_addr         daddr;
        struct in6_addr         saddr;
        __be32                  flowlabel;