aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2018-06-03 08:15:19 -0700
committerAlexei Starovoitov <[email protected]>2018-06-03 18:29:07 -0700
commitbd3a08aaa9a383ffbbd5b788b797ae6e64eaa7a1 (patch)
tree08299ba501c806105ed4568f4e3094b5040d6d3e /include/uapi/linux
parent432bdb581e410ad3cea8f04e9323397f17501e3e (diff)
bpf: flowlabel in bpf_fib_lookup should be flowinfo
As Michal noted the flow struct takes both the flow label and priority. Update the bpf_fib_lookup API to note that it is flowinfo and not just the flow label. Cc: Michal Kubecek <[email protected]> Signed-off-by: David Ahern <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/bpf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
index 18712b0dbfe7..eeb6237be5c2 100644
--- a/include/uapi/linux/bpf.h
+++ b/include/uapi/linux/bpf.h
@@ -2629,7 +2629,7 @@ struct bpf_fib_lookup {
union {
/* inputs to lookup */
__u8 tos; /* AF_INET */
- __be32 flowlabel; /* AF_INET6 */
+ __be32 flowinfo; /* AF_INET6, flow_label + priority */
/* output: metric of fib result (IPv4/IPv6 only) */
__u32 rt_metric;