Home
last modified time | relevance | path

Searched refs:addrbytes (Results 1 – 1 of 1) sorted by relevance

/third_party/glib/gio/
Dginetaddressmask.c425 const guint8 *maskbytes, *addrbytes; in g_inet_address_mask_matches() local
439 addrbytes = g_inet_address_to_bytes (address); in g_inet_address_mask_matches()
442 if (nbytes != 0 && memcmp (maskbytes, addrbytes, nbytes) != 0) in g_inet_address_mask_matches()
449 return maskbytes[nbytes] == (addrbytes[nbytes] & (0xFF << (8 - nbits))); in g_inet_address_mask_matches()