Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1aa8347 authored by Tom Herbert's avatar Tom Herbert Committed by David S. Miller
Browse files

gue: Protocol constants for remote checksum offload



Define a private flag for remote checksun offload as well as a length
for the option.

Signed-off-by: default avatarTom Herbert <therbert@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e585f236
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -59,7 +59,10 @@ struct guehdr {


/* Private flags in the private option extension */
/* Private flags in the private option extension */


#define GUE_PFLAGS_ALL	(0)
#define GUE_PFLAG_REMCSUM	htonl(1 << 31)
#define GUE_PLEN_REMCSUM	4

#define GUE_PFLAGS_ALL	(GUE_PFLAG_REMCSUM)


/* Functions to compute options length corresponding to flags.
/* Functions to compute options length corresponding to flags.
 * If we ever have a lot of flags this can be potentially be
 * If we ever have a lot of flags this can be potentially be