Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
75a6f67d
Commit
75a6f67d
authored
Mar 08, 2024
by
Walid Boudebouda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vcl_int.h: Fix VSL_VER macro
parent
333d5a5e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vsl_int.h
include/vapi/vsl_int.h
+1
-1
No files found.
include/vapi/vsl_int.h
View file @
75a6f67d
...
...
@@ -89,7 +89,7 @@
#define VSL_END(ptr, len) ((ptr) + VSL_OVERHEAD + VSL_WORDS(len))
#define VSL_NEXT(ptr) VSL_END(ptr, VSL_LEN(ptr))
#define VSL_LEN(ptr) ((ptr)[0] & VSL_LENMASK)
#define VSL_VER(ptr) (((ptr)[0]
& VSL_VERMASK) >> VSL_VERSHIFT
)
#define VSL_VER(ptr) (((ptr)[0]
>> VSL_VERSHIFT) & VSL_VERMASK
)
#define VSL_TAG(ptr) ((enum VSL_tag_e)((ptr)[0] >> VSL_IDSHIFT))
#define VSL_ID64(ptr) (((uint64_t)((ptr)[2])<<32) | ((ptr)[1]))
#define VSL_ID(ptr) (VSL_ID64(ptr) & VSL_IDENTMASK)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment