Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching defs:OFFSET

1066 #ifdef OFFSET
1067 #undef OFFSET
1068 #endif /* OFFSET */
1069 /* OFFSET: Get offset of a variable within the wpa_ssid structure */
1070 #define OFFSET(v) ((void *) &((struct wpa_ssid *) 0)->v)
1073 #define _STR(f) #f, wpa_config_parse_str, wpa_config_write_str, OFFSET(f)
1080 #define _STR_LEN(f) _STR(f), OFFSET(f ## _len)
1092 #define _STR_UNICODE(f) #f, wpa_config_parse_str, wpa_config_write_str_unicode, OFFSET(f)
1094 #define _STR_LEN_UNICODE(f) _STR_UNICODE(f), OFFSET(f ## _len)
1101 OFFSET(f), (void *) 0
1123 * into .name and for STR and INT types, the offset of the target buffer within
1125 * offset to the field containing the length of the configuration variable.
1217 #undef OFFSET