diff options
author | Justin Pettit <jpettit@nicira.com> | 2010-12-07 14:02:17 -0800 |
---|---|---|
committer | Justin Pettit <jpettit@nicira.com> | 2011-02-02 12:42:40 -0800 |
commit | bad68a9965215511b305c59d7f1830344ec2241f (patch) | |
tree | 2d21fbf5a0591cfec65932177ba7d6eb3cc9f03a /include/openvswitch | |
parent | 6767a2cce9a6412b3a41a927c4d56b9f0e1ec36f (diff) |
nicira-ext: Support matching ARP source and target hardware addresses.
OpenFlow 1.0 doesn't allow matching on the ARP source and target
hardware address. This has caused us to introduce hacks such as the
Drop Spoofed ARP action. Now that we have extensible match, we can
match on more fields within ARP:
- Source Hardware Address (arp_sha)
- Target Hardware Address (arp_tha)
Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'include/openvswitch')
-rw-r--r-- | include/openvswitch/datapath-protocol.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openvswitch/datapath-protocol.h b/include/openvswitch/datapath-protocol.h index 1fb0bf99..fdd225db 100644 --- a/include/openvswitch/datapath-protocol.h +++ b/include/openvswitch/datapath-protocol.h @@ -356,6 +356,8 @@ struct odp_key_arp { ovs_be32 arp_sip; ovs_be32 arp_tip; ovs_be16 arp_op; + uint8_t arp_sha[6]; + uint8_t arp_tha[6]; }; /** |