mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00: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:
parent
8eccee7ae7
commit
03eb129f8a
9 changed files with 44 additions and 28 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue