#include <stdint.h>
#include <byteswap.h>
#include <gpxe/netdevice.h>
#include <gpxe/iobuf.h>
#include <gpxe/if_ether.h>
#include <gpxe/rarp.h>
Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER) | |
| static int | rarp_rx (struct io_buffer *iobuf, struct net_device *netdev __unused, const void *ll_source __unused) |
| Process incoming ARP packets. | |
| static const char * | rarp_ntoa (const void *net_addr __unused) |
| Transcribe RARP address. | |
Variables | |
| struct net_protocol rarp_protocol | __net_protocol |
| RARP protocol. | |
Definition in file rarp.c.
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
| static int rarp_rx | ( | struct io_buffer * | iobuf, | |
| struct net_device *netdev | __unused, | |||
| const void *ll_source | __unused | |||
| ) | [static] |
Process incoming ARP packets.
| iobuf | I/O buffer | |
| netdev | Network device | |
| ll_source | Link-layer source address |
| rc | Return status code |
Definition at line 44 of file rarp.c.
References free_iob().
00046 { 00047 free_iob ( iobuf ); 00048 return 0; 00049 }
| static const char* rarp_ntoa | ( | const void *net_addr | __unused | ) | [static] |
1.5.7.1