;EnableExplicit
;By Celtic88 2016(c) v: 1.1 new update 2017 add support for ipv6
Macro
GEOIP_CHKBIT_V6
(
bit,ptr
)
(
ptr
\
u_char
[
(
(
127
-
bit
)
>>
3
)
]
&
(
1
<<
(
~
(
127
-
bit
)
&
7
)
)
)
EndMacro