[ovs-dev] [IPv6 Redux 3/6] nicira-ext: Support matching ARP source and target hardware addresses.

Jesse Gross jesse at nicira.com
Sat Jan 22 19:33:26 UTC 2011


On Sat, Jan 22, 2011 at 3:11 AM, Justin Pettit <jpettit at nicira.com> wrote:
> diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h
> index 5013a5a..68481c9 100644
> --- a/include/openflow/nicira-ext.h
> +++ b/include/openflow/nicira-ext.h
> @@ -1038,6 +1038,17 @@ enum nx_mp_algorithm {
>  #define NXM_NX_TUN_ID     NXM_HEADER  (0x0001, 16, 8)
>  #define NXM_NX_TUN_ID_W   NXM_HEADER_W(0x0001, 16, 8)
>
> +/* For an Ethernet+IP ARP packet, the source or target hardware address
> + * in the ARP header.  Always 0 otherwise.
> + *
> + * Prereqs: NXM_OF_ETH_TYPE must match 0x0806 exactly.
> + *
> + * Format: 48-bit Ethernet MAC address.
> + *
> + * Masking: Not maskable. */
> +#define NXM_NX_ARP_SHA    NXM_HEADER  (0x0001, 17, 6)
> +#define NXM_NX_ARP_THA    NXM_HEADER  (0x0001, 18, 6)

It seems like all of the other fields are eligible for being a source
for register move actions.  I don't think that it is particularly
interesting to do this for ARP but everything else appears to allow
it.

Otherwise though:
Acked-by: Jesse Gross <jesse at nicira.com>




More information about the dev mailing list