OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:s6_bytes
(Results
1 - 2
of
2
) sorted by null
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
in6addr.h
33
#define
s6_bytes
u.Byte
macro
ws2tcpip.h
103
WS2TCPIP_INLINE int IN6_IS_ADDR_MULTICAST(const struct in6_addr *a) { return (a->
s6_bytes
[0]==0xff); }
104
WS2TCPIP_INLINE int IN6_IS_ADDR_LINKLOCAL(const struct in6_addr *a) { return ((a->
s6_bytes
[0]==0xfe) && ((a->
s6_bytes
[1] & 0xc0)==0x80)); }
105
WS2TCPIP_INLINE int IN6_IS_ADDR_SITELOCAL(const struct in6_addr *a) { return ((a->
s6_bytes
[0]==0xfe) && ((a->
s6_bytes
[1] & 0xc0)==0xc0)); }
108
WS2TCPIP_INLINE int IN6_IS_ADDR_MC_NODELOCAL(const struct in6_addr *a) { return IN6_IS_ADDR_MULTICAST(a) && ((a->
s6_bytes
[1] & 0xf)==1); }
109
WS2TCPIP_INLINE int IN6_IS_ADDR_MC_LINKLOCAL(const struct in6_addr *a) { return IN6_IS_ADDR_MULTICAST(a) && ((a->
s6_bytes
[1] & 0xf)==2); }
110
WS2TCPIP_INLINE int IN6_IS_ADDR_MC_SITELOCAL(const struct in6_addr *a) { return IN6_IS_ADDR_MULTICAST(a) && ((a->
s6_bytes
[1] & 0xf)==5); }
111
WS2TCPIP_INLINE int IN6_IS_ADDR_MC_ORGLOCAL(const struct in6_addr *a) { return IN6_IS_ADDR_MULTICAST(a) && ((a->
s6_bytes
[1] & 0xf)==8); }
112
WS2TCPIP_INLINE int IN6_IS_ADDR_MC_GLOBAL(const struct in6_addr *a) { return IN6_IS_ADDR_MULTICAST(a) && ((a->
s6_bytes
[1] & 0xf)==0xe);
[
all
...]
Completed in 3928 milliseconds