aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/flow.h
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <[email protected]>2006-08-21 10:22:01 +0000
committerDavid S. Miller <[email protected]>2006-09-22 22:18:00 +0000
commit75bff8f023e02b045a8f68f36fa7da98dca124b8 (patch)
treee476cdbadcb6386d1f2dcbc6d637800261984375 /include/net/flow.h
parent[IPV6] ROUTE: Routing by Traffic Class. (diff)
downloadkernel-75bff8f023e02b045a8f68f36fa7da98dca124b8.tar.gz
kernel-75bff8f023e02b045a8f68f36fa7da98dca124b8.zip
[IPV6] ROUTE: Routing by FWMARK.
Based on patch by Jean Lorchat <[email protected]>. Signed-off-by: YOSHIFUJI Hideaki <[email protected]>
Diffstat (limited to 'include/net/flow.h')
-rw-r--r--include/net/flow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/flow.h b/include/net/flow.h
index e0522914316e..3ca210ec1379 100644
--- a/include/net/flow.h
+++ b/include/net/flow.h
@@ -26,6 +26,7 @@ struct flowi {
struct {
struct in6_addr daddr;
struct in6_addr saddr;
+ __u32 fwmark;
__u32 flowlabel;
} ip6_u;
@@ -42,6 +43,7 @@ struct flowi {
#define fld_scope nl_u.dn_u.scope
#define fl6_dst nl_u.ip6_u.daddr
#define fl6_src nl_u.ip6_u.saddr
+#define fl6_fwmark nl_u.ip6_u.fwmark
#define fl6_flowlabel nl_u.ip6_u.flowlabel
#define fl4_dst nl_u.ip4_u.daddr
#define fl4_src nl_u.ip4_u.saddr