]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: Refactor to separate the UDP handler from the ARP handler
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 07:59:15 +0000 (07:59 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 22:52:53 +0000 (17:52 -0500)
commitece223b52ae9ab94f7ae83a9ac49b9f6319a94cb
tree1d2c3ec21e2802f52bb6d95b25ae16ad9d97cad8
parent22f6e99d5b0c54758646334c1153737a5585bd57
net: Refactor to separate the UDP handler from the ARP handler

Call a built-in dummy if none is registered... don't require
protocols to register a handler (eliminating dummies)
NetConsole now uses the ARP handler when waiting on arp
(instead of needing a #define hack in arp.c)
Clear handlers at the end of net loop

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/net/netconsole.c
include/net.h
net/arp.c
net/bootp.c
net/cdp.c
net/dns.c
net/net.c
net/nfs.c
net/sntp.c
net/tftp.c