summaryrefslogtreecommitdiffstats
path: root/src/vnet/ethernet/arp_packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ethernet/arp_packet.h')
-rw-r--r--src/vnet/ethernet/arp_packet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/ethernet/arp_packet.h b/src/vnet/ethernet/arp_packet.h
index a35adf17c85..6b4dfa6ab3d 100644
--- a/src/vnet/ethernet/arp_packet.h
+++ b/src/vnet/ethernet/arp_packet.h
@@ -146,6 +146,9 @@ typedef struct
};
} ethernet_arp_header_t;
+#define ARP_SENDER 0
+#define ARP_TARGET 1
+
extern u8 *format_ethernet_arp_header (u8 * s, va_list * va);
extern u8 *format_ethernet_arp_opcode (u8 * s, va_list * va);
extern u8 *format_ethernet_arp_hardware_type (u8 * s, va_list * va);