Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching defs:OFFSET

1547 #ifdef OFFSET
1548 #undef OFFSET
1549 #endif /* OFFSET */
1550 /* OFFSET: Get offset of a variable within the wpa_ssid structure */
1551 #define OFFSET(v) ((void *) &((struct wpa_ssid *) 0)->v)
1555 #define _STR(f) #f, wpa_config_parse_str, OFFSET(f)
1556 #define _STRe(f) #f, wpa_config_parse_str, OFFSET(eap.f)
1558 #define _STR(f) #f, wpa_config_parse_str, wpa_config_write_str, OFFSET(f)
1559 #define _STRe(f) #f, wpa_config_parse_str, wpa_config_write_str, OFFSET(eap.f)
1569 #define _STR_LEN(f) _STR(f), OFFSET(f ## _len)
1570 #define _STR_LENe(f) _STRe(f), OFFSET(eap.f ## _len)
1582 #define _INT(f) #f, wpa_config_parse_int, OFFSET(f), (void *) 0
1583 #define _INTe(f) #f, wpa_config_parse_int, OFFSET(eap.f), (void *) 0
1586 OFFSET(f), (void *) 0
1588 OFFSET(eap.f), (void *) 0
1616 * into .name and for STR and INT types, the offset of the target buffer within
1618 * offset to the field containing the length of the configuration variable.
1760 #undef OFFSET
3791 #ifdef OFFSET
3792 #undef OFFSET
3793 #endif /* OFFSET */
3794 /* OFFSET: Get offset of a variable within the wpa_config structure */
3795 #define OFFSET(v) ((void *) &((struct wpa_config *) 0)->v)
3797 #define FUNC(f) #f, wpa_config_process_ ## f, OFFSET(f), NULL, NULL
3799 #define _INT(f) #f, wpa_global_config_parse_int, OFFSET(f)
3802 #define _STR(f) #f, wpa_global_config_parse_str, OFFSET(f)
3805 #define BIN(f) #f, wpa_global_config_parse_bin, OFFSET(f), NULL, NULL
3806 #define IPV4(f) #f, wpa_global_config_parse_ipv4, OFFSET(f), NULL, NULL