mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 06:46:35 +01:00
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: Tom Herbert <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
1 parent
e585f23636
commit
c1aa8347e7
1 file changed
+4
-1
+4
-1
@@ -59,7 +59,10 @@ struct guehdr {
|
||||
|
||||
/* 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.
|
||||
* If we ever have a lot of flags this can be potentially be
|
||||
|
||||
Reference in new issue
Block a user