]> Git Repo - linux.git/commit
samples: bpf: get ifindex from ifname
authorMatteo Croce <[email protected]>
Sat, 1 Dec 2018 00:23:06 +0000 (01:23 +0100)
committerAlexei Starovoitov <[email protected]>
Sat, 1 Dec 2018 06:06:41 +0000 (22:06 -0800)
commitdc378a1ab5b6009629a3f8410f8b3030ac6b14c9
treecdd8e745aba4dd3f7eeb1c8d4c6630e2deb4f56a
parentd606ee5c1d9a9bc4d1bba3c36fae615447f9851c
samples: bpf: get ifindex from ifname

Find the ifindex with if_nametoindex() instead of requiring the
numeric ifindex.

Signed-off-by: Matteo Croce <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
samples/bpf/xdp1_user.c
This page took 0.05245 seconds and 4 git commands to generate.