mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
NET: pass source IP address to packet handlers
This is needed for the upcoming TFTP server implementation. This also simplifies PingHandler() and fixes rxhand_f documentation. Signed-off-by: Luca Ceresoli <luca.ceresoli@comelit.it> Cc: Wolfgang Denk <wd@denx.de> Acked-by: Detlev Zundel <dzu@denx.de>
This commit is contained in:
committed by
Wolfgang Denk
parent
8eccee7ae7
commit
03eb129f8a
@@ -43,7 +43,8 @@ int RarpTry;
|
||||
* Handle a RARP received packet.
|
||||
*/
|
||||
static void
|
||||
RarpHandler(uchar * dummi0, unsigned dummi1, unsigned dummi2, unsigned dummi3)
|
||||
RarpHandler(uchar *dummi0, unsigned dummi1, IPaddr_t sip, unsigned dummi2,
|
||||
unsigned dummi3)
|
||||
{
|
||||
char *s;
|
||||
debug("Got good RARP\n");
|
||||
|
Reference in New Issue
Block a user