Reverse Address Resolution Protocol.
More...
Go to the source code of this file.
Reverse Address Resolution Protocol.
Definition in file rarp.c.
◆ FILE_LICENCE()
| FILE_LICENCE |
( |
GPL2_OR_LATER_OR_UBDL | | ) |
|
◆ rarp_rx()
| int rarp_rx |
( |
struct io_buffer * | iobuf, |
|
|
struct net_device *netdev | __unused, |
|
|
const void *ll_dest | __unused, |
|
|
const void *ll_source | __unused, |
|
|
unsigned int flags | __unused ) |
|
static |
Process incoming ARP packets.
- Parameters
-
| iobuf | I/O buffer |
| netdev | Network device |
| ll_dest | Link-layer destination address |
| ll_source | Link-layer source address |
| flags | Packet flags |
- Return values
-
This is a dummy method which simply discards RARP packets.
Definition at line 51 of file rarp.c.
55 {
57 return 0;
58}
void free_iob(struct io_buffer *iobuf)
Free I/O buffer.
References __unused, flags, free_iob(), and netdev.
◆ rarp_ntoa()
| const char * rarp_ntoa |
( |
const void *net_addr | __unused | ) |
|
|
static |
Transcribe RARP address.
- Parameters
-
- Return values
-
This operation is meaningless for the RARP protocol.
Definition at line 69 of file rarp.c.
69 {
70 return "<RARP>";
71}
References __unused.
◆ __net_protocol
Initial value:= {
.name = "RARP",
}
static int rarp_rx(struct io_buffer *iobuf, struct net_device *netdev __unused, const void *ll_dest __unused, const void *ll_source __unused, unsigned int flags __unused)
Process incoming ARP packets.
static const char * rarp_ntoa(const void *net_addr __unused)
Transcribe RARP address.
RARP protocol.
AoE protocol.
Definition at line 74 of file rarp.c.
74 {
75 .name = "RARP",
79};