Lines Matching defs:OFFSET
1245 #ifdef OFFSET
1246 #undef OFFSET
1247 #endif /* OFFSET */
1248 /* OFFSET: Get offset of a variable within the wpa_ssid structure */
1249 #define OFFSET(v) ((void *) &((struct wpa_ssid *) 0)->v)
1253 #define _STR(f) #f, wpa_config_parse_str, OFFSET(f)
1254 #define _STRe(f) #f, wpa_config_parse_str, OFFSET(eap.f)
1256 #define _STR(f) #f, wpa_config_parse_str, wpa_config_write_str, OFFSET(f)
1257 #define _STRe(f) #f, wpa_config_parse_str, wpa_config_write_str, OFFSET(eap.f)
1267 #define _STR_LEN(f) _STR(f), OFFSET(f ## _len)
1268 #define _STR_LENe(f) _STRe(f), OFFSET(eap.f ## _len)
1280 #define _INT(f) #f, wpa_config_parse_int, OFFSET(f), (void *) 0
1281 #define _INTe(f) #f, wpa_config_parse_int, OFFSET(eap.f), (void *) 0
1284 OFFSET(f), (void *) 0
1286 OFFSET(eap.f), (void *) 0
1289 #define _STR_UNICODE(f) #f, wpa_config_parse_str, wpa_config_write_str_unicode, OFFSET(f)
1291 #define _STR_LEN_UNICODE(f) _STR_UNICODE(f), OFFSET(f ## _len)
1323 * into .name and for STR and INT types, the offset of the target buffer within
1325 * offset to the field containing the length of the configuration variable.
1424 #undef OFFSET