Searched refs:OFFSET_OF (Results 1 – 2 of 2) sorted by relevance
452 #define OFFSET_OF(type,elem) ((size_t)&((type *)0)->elem) macro470 offset = OFFSET_OF(struct sockaddr_in6, sin6_addr); in niquery_option_subject_addr_handler()475 offset = OFFSET_OF(struct sockaddr_in, sin_addr); in niquery_option_subject_addr_handler()
105 #define OFFSET_OF(name,ele) ((size_t)(((name *)0)->ele)) macro109 socklen_t len = OFFSET_OF(struct sockaddr_ll, sll_addr) + halen; in sll_len()