Lines Matching refs:OFFSET
1433 #ifdef OFFSET
1434 #undef OFFSET
1435 #endif /* OFFSET */
1436 /* OFFSET: Get offset of a variable within the wpa_ssid structure */
1437 #define OFFSET(v) ((void *) &((struct wpa_ssid *) 0)->v)
1441 #define _STR(f) #f, wpa_config_parse_str, OFFSET(f)
1442 #define _STRe(f) #f, wpa_config_parse_str, OFFSET(eap.f)
1444 #define _STR(f) #f, wpa_config_parse_str, wpa_config_write_str, OFFSET(f)
1445 #define _STRe(f) #f, wpa_config_parse_str, wpa_config_write_str, OFFSET(eap.f)
1455 #define _STR_LEN(f) _STR(f), OFFSET(f ## _len)
1456 #define _STR_LENe(f) _STRe(f), OFFSET(eap.f ## _len)
1468 #define _INT(f) #f, wpa_config_parse_int, OFFSET(f), (void *) 0
1469 #define _INTe(f) #f, wpa_config_parse_int, OFFSET(eap.f), (void *) 0
1472 OFFSET(f), (void *) 0
1474 OFFSET(eap.f), (void *) 0
1502 * into .name and for STR and INT types, the offset of the target buffer within
1504 * offset to the field containing the length of the configuration variable.
1633 #undef OFFSET
3073 #ifdef OFFSET
3074 #undef OFFSET
3075 #endif /* OFFSET */
3076 /* OFFSET: Get offset of a variable within the wpa_config structure */
3077 #define OFFSET(v) ((void *) &((struct wpa_config *) 0)->v)
3079 #define FUNC(f) #f, wpa_config_process_ ## f, OFFSET(f), NULL, NULL
3081 #define _INT(f) #f, wpa_global_config_parse_int, OFFSET(f)
3084 #define _STR(f) #f, wpa_global_config_parse_str, OFFSET(f)
3087 #define BIN(f) #f, wpa_global_config_parse_bin, OFFSET(f), NULL, NULL