Lines Matching defs:reg
233 static void wps_registrar_add_authorized_mac(struct wps_registrar *reg, in wps_registrar_add_authorized_mac()
254 static void wps_registrar_remove_authorized_mac(struct wps_registrar *reg, in wps_registrar_remove_authorized_mac()
292 static struct wps_registrar_device * wps_device_get(struct wps_registrar *reg, in wps_device_get()
324 int wps_device_store(struct wps_registrar *reg, in wps_device_store()
345 static void wps_registrar_add_pbc_session(struct wps_registrar *reg, in wps_registrar_add_pbc_session()
397 static void wps_registrar_remove_pbc_session(struct wps_registrar *reg, in wps_registrar_remove_pbc_session()
428 int wps_registrar_pbc_overlap(struct wps_registrar *reg, in wps_registrar_pbc_overlap()
526 static int wps_build_selected_registrar(struct wps_registrar *reg, in wps_build_selected_registrar()
539 static int wps_build_sel_reg_dev_password_id(struct wps_registrar *reg, in wps_build_sel_reg_dev_password_id()
555 static int wps_build_sel_pbc_reg_uuid_e(struct wps_registrar *reg, in wps_build_sel_pbc_reg_uuid_e()
592 static int wps_build_sel_reg_config_methods(struct wps_registrar *reg, in wps_build_sel_reg_config_methods()
615 static int wps_build_probe_config_methods(struct wps_registrar *reg, in wps_build_probe_config_methods()
634 static int wps_build_config_methods_r(struct wps_registrar *reg, in wps_build_config_methods_r()
641 const u8 * wps_authorized_macs(struct wps_registrar *reg, size_t *count) in wps_authorized_macs()
671 struct wps_registrar *reg = os_zalloc(sizeof(*reg)); in wps_registrar_init() local
730 void wps_registrar_flush(struct wps_registrar *reg) in wps_registrar_flush()
750 void wps_registrar_deinit(struct wps_registrar *reg) in wps_registrar_deinit()
764 static void wps_registrar_invalidate_unused(struct wps_registrar *reg) in wps_registrar_invalidate_unused()
789 int wps_registrar_add_pin(struct wps_registrar *reg, const u8 *addr, in wps_registrar_add_pin()
843 static void wps_registrar_remove_pin(struct wps_registrar *reg, in wps_registrar_remove_pin()
858 static void wps_registrar_expire_pins(struct wps_registrar *reg) in wps_registrar_expire_pins()
883 static int wps_registrar_invalidate_wildcard_pin(struct wps_registrar *reg, in wps_registrar_invalidate_wildcard_pin()
913 int wps_registrar_invalidate_pin(struct wps_registrar *reg, const u8 *uuid) in wps_registrar_invalidate_pin()
931 static const u8 * wps_registrar_get_pin(struct wps_registrar *reg, in wps_registrar_get_pin()
993 int wps_registrar_unlock_pin(struct wps_registrar *reg, const u8 *uuid) in wps_registrar_unlock_pin()
1013 static void wps_registrar_stop_pbc(struct wps_registrar *reg) in wps_registrar_stop_pbc()
1026 struct wps_registrar *reg = eloop_ctx; in wps_registrar_pbc_timeout() local
1048 int wps_registrar_button_pushed(struct wps_registrar *reg, in wps_registrar_button_pushed()
1079 static void wps_registrar_pbc_completed(struct wps_registrar *reg) in wps_registrar_pbc_completed()
1088 static void wps_registrar_pin_completed(struct wps_registrar *reg) in wps_registrar_pin_completed()
1121 int wps_registrar_wps_cancel(struct wps_registrar *reg) in wps_registrar_wps_cancel()
1149 void wps_registrar_probe_req_rx(struct wps_registrar *reg, const u8 *addr, in wps_registrar_probe_req_rx()
1245 int wps_cb_new_psk(struct wps_registrar *reg, const u8 *mac_addr, in wps_cb_new_psk()
1256 static void wps_cb_pin_needed(struct wps_registrar *reg, const u8 *uuid_e, in wps_cb_pin_needed()
1266 static void wps_cb_reg_success(struct wps_registrar *reg, const u8 *mac_addr, in wps_cb_reg_success()
1277 static int wps_cb_set_ie(struct wps_registrar *reg, struct wpabuf *beacon_ie, in wps_cb_set_ie()
1284 static void wps_cb_set_sel_reg(struct wps_registrar *reg) in wps_cb_set_sel_reg()
1310 static int wps_cp_lookup_pskfile(struct wps_registrar *reg, const u8 *mac_addr, in wps_cp_lookup_pskfile()
1319 static int wps_set_ie(struct wps_registrar *reg) in wps_set_ie()
1639 struct wps_registrar *reg = wps->wps->registrar; in wps_build_cred() local
2622 struct wps_registrar *reg = wps->wps->registrar; in wps_registrar_p2p_dev_addr_match() local
2643 struct wps_registrar *reg = wps->wps->registrar; in wps_registrar_skip_overlap() local
3483 int wps_registrar_update_ie(struct wps_registrar *reg) in wps_registrar_update_ie()
3492 struct wps_registrar *reg = eloop_ctx; in wps_registrar_set_selected_timeout() local
3505 static void wps_registrar_sel_reg_add(struct wps_registrar *reg, in wps_registrar_sel_reg_add()
3538 static void wps_registrar_sel_reg_union(struct wps_registrar *reg) in wps_registrar_sel_reg_union()
3572 void wps_registrar_selected_registrar_changed(struct wps_registrar *reg, in wps_registrar_selected_registrar_changed()
3610 int wps_registrar_get_info(struct wps_registrar *reg, const u8 *addr, in wps_registrar_get_info()
3648 int wps_registrar_config_ap(struct wps_registrar *reg, in wps_registrar_config_ap()
3686 int wps_registrar_update_multi_ap(struct wps_registrar *reg, in wps_registrar_update_multi_ap()
3717 int wps_registrar_add_nfc_pw_token(struct wps_registrar *reg, in wps_registrar_add_nfc_pw_token()
3772 int wps_registrar_add_nfc_password_token(struct wps_registrar *reg, in wps_registrar_add_nfc_password_token()
3803 void wps_registrar_remove_nfc_pw_token(struct wps_registrar *reg, in wps_registrar_remove_nfc_pw_token()