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>
Showing
- drivers/net/netconsole.c 2 additions, 2 deletionsdrivers/net/netconsole.c
- include/net.h 5 additions, 2 deletionsinclude/net.h
- net/arp.c 3 additions, 3 deletionsnet/arp.c
- net/bootp.c 2 additions, 2 deletionsnet/bootp.c
- net/cdp.c 0 additions, 8 deletionsnet/cdp.c
- net/dns.c 1 addition, 1 deletionnet/dns.c
- net/net.c 62 additions, 33 deletionsnet/net.c
- net/nfs.c 1 addition, 1 deletionnet/nfs.c
- net/sntp.c 1 addition, 1 deletionnet/sntp.c
- net/tftp.c 2 additions, 2 deletionsnet/tftp.c
Loading
Please register or sign in to comment