X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fcdp.h;h=83475c992d237885e18a581c1a1b828aa5d4888f;hb=67f17b5227433573bb5eb9c40046ff54d57e73e2;hp=93bc4612203192e15e8728d62775406f951b30c2;hpb=f575ae1f7d3940efbfc43e4236adb4a8ec1db632;p=karo-tx-uboot.git diff --git a/net/cdp.h b/net/cdp.h index 93bc461220..83475c992d 100644 --- a/net/cdp.h +++ b/net/cdp.h @@ -6,6 +6,7 @@ * Copyright 2000 Roland Borde * Copyright 2000 Paolo Scaffardi * Copyright 2000-2002 Wolfgang Denk, wd@denx.de + * SPDX-License-Identifier: GPL-2.0 */ #if defined(CONFIG_CMD_CDP) @@ -13,8 +14,9 @@ #ifndef __CDP_H__ #define __CDP_H__ -void CDPStart(void); -void CDPHandler(const uchar *pkt, unsigned len); +void cdp_start(void); +/* Process a received CDP packet */ +void cdp_receive(const uchar *pkt, unsigned len); #endif /* __CDP_H__ */ #endif