kni: implement header_ops parse method
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 10 Apr 2019 10:30:03 +0000 (13:30 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 19 Apr 2019 10:35:28 +0000 (12:35 +0200)
commit8ce1fdea093c4f33c21ca6a42f8eb9cccac7441e
tree5542bfaaf7e1454cccfee40e227fb74289de9e40
parentdb9178c24c1643b5ef58f2a9ff87c3eef8e0e1e4
kni: implement header_ops parse method

It allows applications running packet sockets over KNI interfaces to get
source Ethernet addresses of packets received using recvfrom function.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
kernel/linux/kni/kni_net.c