net: Refactor to use NetSendPacket instead of eth_send directly
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 07:59:13 +0000 (07:59 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 22:46:20 +0000 (17:46 -0500)
commitadf5d93e441eb3eacd8c0430d6064b35d47ad2a5
treed8e088ac9d135ab710a276b405c3ed3e5f19b872
parent61da3c2af8ba7a06cb1f7e9e0db54b9ddea532ce
net: Refactor to use NetSendPacket instead of eth_send directly

Use this entry-point consistently across the net/ code
Use a static inline function to preserve code size

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
include/net.h
net/arp.c
net/cdp.c
net/net.c
net/ping.c