[ovs-dev] [tun_id masks 2/2] Implement arbitrary bitwise masks for tun_id field.

Justin Pettit jpettit at nicira.com
Thu Jan 20 23:20:58 UTC 2011


On Jan 20, 2011, at 12:28 PM, Ben Pfaff wrote:

> -.IP \fBtun_id=\fItunnel\-id\fR
> +.IP \fBtun_id=\fItunnel\-id\fR[\fB/\fImask\fR]
> Matches tunnel identifier \fItunnel\-id\fR.  Only packets that arrive
> over a tunnel that carries a key (e.g. GRE with the RFC 2890 key
> -extension) will have a nonzero tunnel ID.
> +extension) will have a nonzero tunnel ID.  If \fImask\fR is omitted,
> +\fItunnel\-id\fR is the exact tunnel ID to match; \fImask\fR is
> +specified, then a 1-bit in \fImask\fR indicates that the corresponding
> +bit in \fIvalue\fR must match exactly, and a 0-bit wildcards that bit.

Did you mean "tunnel\-id" instead of "value" here?

Otherwise, looks good.

--Justin






More information about the dev mailing list