Home
last modified time | relevance | path

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

/external/iputils/
Dping6.c452 #define OFFSET_OF(type,elem) ((size_t)&((type *)0)->elem) macro
470 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()
Darping.c105 #define OFFSET_OF(name,ele) ((size_t)(((name *)0)->ele)) macro
109 socklen_t len = OFFSET_OF(struct sockaddr_ll, sll_addr) + halen; in sll_len()