History

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.

David Ahern committed 8 years ago

Commit bd3a08a1 parent 432bdb53 files · +3 −3Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/bpf.h+1−1
@@ -2629,7 +2629,7 @@ struct bpf_fib_lookup { · 2628 unmodified lines
26292629 union {
26302630 /* inputs to lookup */
26312631 __u8 tos; /* AF_INET */
2632− __be32 flowlabel; /* AF_INET6 */
2632+ __be32 flowinfo; /* AF_INET6, flow_label + priority */
26332633
26342634 /* output: metric of fib result (IPv4/IPv6 only) */
26352635 __u32 rt_metric;