]> granicus.if.org Git - libnl/commit
veth: add kernel header linux/veth.h for VETH defines
authorDan Williams <dcbw@redhat.com>
Fri, 25 Jul 2014 19:27:09 +0000 (14:27 -0500)
committerThomas Haller <thaller@redhat.com>
Fri, 25 Jul 2014 20:37:41 +0000 (22:37 +0200)
commit9dc6e6da90016a33929f262bea0187396e1a061b
tree6ff6384b7c3866b08fb368cf773ad2a0db7007fa
parent944b982cc50efd1fd478f5544b4e5e963af30214
veth: add kernel header linux/veth.h for VETH defines

Similar to what's done with <linux/if_link.h>, make sure used defines
actually exist.  Otherwise building on even slightly older kernels
fails.

Taken from upstream kernel commit 1860e379875dfe7271c649058aeddffe5afd9d0d
(tag: v3.15), file 'include/uapi/linux/veth.h'.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: Thomas Haller <thaller@redhat.com>
include/linux/if_link.h
include/linux/veth.h [new file with mode: 0644]
lib/route/link/veth.c