public/io/netif.h: fix typos

Unfortunately my patch 162a81ab "document control ring and toeplitz
hashing" contained a couple of typos. This patch fixes them.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Jan Beulich <jbeulich@suse.com>
Cc: Keir Fraser <keir@xen.org>
Cc: Tim Deegan <tim@xen.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
Paul Durrant authored and Ian Campbell committed 2016-02-11 15:06:58 +00:00
1 parent c26b88bf64
commit 77efb6604f
1 file changed
+2 -2
+2 -2
View File
@@ -234,7 +234,7 @@
* Result = ToeplitzHash(Buffer, 32)
*/
#define _NETIF_CTRL_TOEPLITZ_HASH_IPV6 2
#define NETIF_CTRL_TOEPLITZ_HASH_IPV6 (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV4)
#define NETIF_CTRL_TOEPLITZ_HASH_IPV6 (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV6)
/*
* A hash calculated over an IP version 6 header and TCP header as
@@ -248,7 +248,7 @@
* Result = ToeplitzHash(Buffer, 36)
*/
#define _NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP 3
#define NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV4_TCP)
#define NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP)
/*
* Control requests (netif_ctrl_request_t)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.