mirror of
https://xff.cz/git/u-boot/
synced 2025-09-29 06:21:15 +02:00
net: cosmetic: Rename CDPHandler to cdp_receive
This is not called as a handler, so don't name it that way Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
@@ -245,8 +245,7 @@ CDPDummyHandler(uchar *pkt, unsigned dest, IPaddr_t sip, unsigned src,
|
|||||||
/* nothing */
|
/* nothing */
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void cdp_receive(const uchar *pkt, unsigned len)
|
||||||
CDPHandler(const uchar *pkt, unsigned len)
|
|
||||||
{
|
{
|
||||||
const uchar *t;
|
const uchar *t;
|
||||||
const ushort *ss;
|
const ushort *ss;
|
||||||
|
@@ -14,7 +14,8 @@
|
|||||||
#define __CDP_H__
|
#define __CDP_H__
|
||||||
|
|
||||||
void CDPStart(void);
|
void CDPStart(void);
|
||||||
void CDPHandler(const uchar *pkt, unsigned len);
|
/* Process a received CDP packet */
|
||||||
|
void cdp_receive(const uchar *pkt, unsigned len);
|
||||||
|
|
||||||
#endif /* __CDP_H__ */
|
#endif /* __CDP_H__ */
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user