From: Eric W. Biederman Date: Tue, 3 Mar 2015 23:11:16 +0000 (-0600) Subject: neigh: Add helper function neigh_xmit X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~351^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fd3d7d9e868ffbdb0e7a67c5c8e9dfdcd846a62;p=pandora-kernel.git neigh: Add helper function neigh_xmit For MPLS I am building the code so that either the neighbour mac address can be specified or we can have a next hop in ipv4 or ipv6. The kind of next hop we have is indicated by the neighbour table pointer. A neighbour table pointer of NULL is a link layer address. A non-NULL neighbour table pointer indicates which neighbour table and thus which address family the next hop address is in that we need to look up. The code either sends a packet directly or looks up the appropriate neighbour table entry and sends the packet. Signed-off-by: "Eric W. Biederman" Signed-off-by: David S. Miller --- Reading git-diff-tree failed