diff options
author | Florent Fourcot <florent.fourcot@enst-bretagne.fr> | 2014-01-17 17:15:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-19 17:12:31 -0800 |
commit | 46e5f401762c639e38eea350d335c0f54ec2442f (patch) | |
tree | 76f12d6f2425d05a13f09e27cd66c981b29312f4 /include/net/ipv6.h | |
parent | df3687ffc6653e4d32168338b4dee20c164ed7c9 (diff) | |
download | op-kernel-dev-46e5f401762c639e38eea350d335c0f54ec2442f.zip op-kernel-dev-46e5f401762c639e38eea350d335c0f54ec2442f.tar.gz |
ipv6: add a flag to get the flow label used remotly
This information is already available via IPV6_FLOWINFO
of IPV6_2292PKTOPTIONS, and them a filtering to get the flow label
information. But it is probably logical and easier for users to add this
here, and to control both sent/received flow label values with the
IPV6_FLOWLABEL_MGR option.
Signed-off-by: Florent Fourcot <florent.fourcot@enst-bretagne.fr>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r-- | include/net/ipv6.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 6d80f51..78d3d51 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -253,7 +253,8 @@ struct ipv6_txoptions *fl6_merge_options(struct ipv6_txoptions *opt_space, struct ipv6_txoptions *fopt); void fl6_free_socklist(struct sock *sk); int ipv6_flowlabel_opt(struct sock *sk, char __user *optval, int optlen); -int ipv6_flowlabel_opt_get(struct sock *sk, struct in6_flowlabel_req *freq); +int ipv6_flowlabel_opt_get(struct sock *sk, struct in6_flowlabel_req *freq, + int flags); int ip6_flowlabel_init(void); void ip6_flowlabel_cleanup(void); |