/hostap-latest/src/radius/ |
D | radius_client.c | 103 RadiusType msg_type; member 291 RadiusType msg_type, in radius_client_register() argument 302 if (msg_type == RADIUS_ACCT) { in radius_client_register() 348 int s, RadiusType msg_type) in radius_client_handle_send_error() argument 359 if (msg_type == RADIUS_ACCT || in radius_client_handle_send_error() 360 msg_type == RADIUS_ACCT_INTERIM) { in radius_client_handle_send_error() 391 if (entry->msg_type == RADIUS_ACCT || in radius_client_retransmit() 392 entry->msg_type == RADIUS_ACCT_INTERIM) { in radius_client_retransmit() 437 if (entry->msg_type == RADIUS_ACCT_INTERIM) { in radius_client_retransmit() 463 if (entry->msg_type == RADIUS_ACCT && in radius_client_retransmit() [all …]
|
D | radius_client.h | 268 RadiusType msg_type, 279 RadiusType msg_type, const u8 *addr);
|
/hostap-latest/src/wps/ |
D | wps_validate.c | 545 static int wps_validate_msg_type(const u8 *msg_type, int mandatory) in wps_validate_msg_type() argument 547 if (msg_type == NULL) { in wps_validate_msg_type() 555 if (*msg_type < WPS_Beacon || *msg_type > WPS_WSC_DONE) { in wps_validate_msg_type() 557 "attribute value 0x%x", *msg_type); in wps_validate_msg_type() 1302 wps_validate_msg_type(attr.msg_type, 1) || in wps_validate_m1() 1358 wps_validate_msg_type(attr.msg_type, 1) || in wps_validate_m2() 1413 wps_validate_msg_type(attr.msg_type, 1) || in wps_validate_m2d() 1465 wps_validate_msg_type(attr.msg_type, 1) || in wps_validate_m3() 1501 wps_validate_msg_type(attr.msg_type, 1) || in wps_validate_m4() 1570 wps_validate_msg_type(attr.msg_type, 1) || in wps_validate_m5() [all …]
|
D | wps_enrollee.c | 1294 if (attr.msg_type == NULL) { in wps_process_wsc_msg() 1300 switch (*attr.msg_type) { in wps_process_wsc_msg() 1340 *attr.msg_type); in wps_process_wsc_msg() 1351 if (ret == WPS_CONTINUE && *attr.msg_type != WPS_M2D) { in wps_process_wsc_msg() 1372 if (attr.msg_type == NULL) { in wps_process_wsc_ack() 1377 if (*attr.msg_type != WPS_WSC_ACK) { in wps_process_wsc_ack() 1379 *attr.msg_type); in wps_process_wsc_ack() 1419 if (attr.msg_type == NULL) { in wps_process_wsc_nack() 1424 if (*attr.msg_type != WPS_WSC_NACK) { in wps_process_wsc_nack() 1426 *attr.msg_type); in wps_process_wsc_nack() [all …]
|
D | wps_attr_build.c | 276 int wps_build_msg_type(struct wpabuf *msg, enum wps_msg_type msg_type) in wps_build_msg_type() argument 278 wpa_printf(MSG_DEBUG, "WPS: * Message Type (%d)", msg_type); in wps_build_msg_type() 281 wpabuf_put_u8(msg, msg_type); in wps_build_msg_type()
|
D | wps_upnp.h | 34 enum wps_msg_type msg_type);
|
D | wps_upnp_web.c | 532 if (attr.msg_type && in web_process_put_message() 533 *attr.msg_type != WPS_M2 && in web_process_put_message() 534 *attr.msg_type != WPS_M2D && in web_process_put_message() 646 attr.msg_type == NULL) in web_process_put_wlan_response() 649 type = *attr.msg_type; in web_process_put_wlan_response()
|
D | wps_registrar.c | 3040 if (attr.msg_type == NULL) { in wps_process_wsc_msg() 3046 if (*attr.msg_type != WPS_M1 && in wps_process_wsc_msg() 3054 switch (*attr.msg_type) { in wps_process_wsc_msg() 3097 *attr.msg_type); in wps_process_wsc_msg() 3122 if (attr.msg_type == NULL) { in wps_process_wsc_ack() 3127 if (*attr.msg_type != WPS_WSC_ACK) { in wps_process_wsc_ack() 3129 *attr.msg_type); in wps_process_wsc_ack() 3194 if (attr.msg_type == NULL) { in wps_process_wsc_nack() 3199 if (*attr.msg_type != WPS_WSC_NACK) { in wps_process_wsc_nack() 3201 *attr.msg_type); in wps_process_wsc_nack() [all …]
|
D | wps_er.c | 765 m1 = !probe_req && attr->msg_type && *attr->msg_type == WPS_M1; in wps_er_add_sta_data() 1089 if (attr.msg_type && *attr.msg_type == WPS_M1) in wps_er_process_wlanevent_eap() 1093 if (attr.msg_type) { in wps_er_process_wlanevent_eap() 1094 switch (*attr.msg_type) { in wps_er_process_wlanevent_eap() 1749 if (wps_parse_msg(msg, &attr) == 0 && attr.msg_type) { in wps_er_ap_process() 1750 switch (*attr.msg_type) { in wps_er_ap_process()
|
D | wps_attr_parse.h | 18 const u8 *msg_type; /* 1 octet */ member
|
D | wps_i.h | 171 int wps_build_msg_type(struct wpabuf *msg, enum wps_msg_type msg_type);
|
D | wps_attr_parse.c | 170 attr->msg_type = pos; in wps_set_attr()
|
/hostap-latest/tests/hwsim/ |
D | netlink.py | 109 def __init__(self, msg_type, flags=0, seq=-1, payload=None): argument 110 self.type = msg_type 165 msglen, msg_type, flags, seq, pid = struct.unpack("IHHII", 167 msg = Message(msg_type, flags, seq, contents[16:])
|
D | test_ap_wps.py | 6478 def recv_wsc_msg(dev, opcode, msg_type): argument 6480 if msg['wsc_opcode'] != opcode or msg['wsc_msg_type'] != msg_type: 6488 def build_attr_msg_type(msg_type): argument 6489 return build_wsc_attr(ATTR_MSG_TYPE, struct.pack('B', msg_type)) 6743 def build_ack(eap_id, e_nonce, r_nonce, msg_type=WPS_WSC_ACK, eap_code=1): argument 6745 if msg_type is not None: 6746 attrs += build_attr_msg_type(msg_type) 6755 msg_type=WPS_WSC_NACK, eap_code=1): argument 6757 if msg_type is not None: 6758 attrs += build_attr_msg_type(msg_type) [all …]
|
/hostap-latest/src/ap/ |
D | wps_hostapd.c | 1696 enum wps_msg_type msg_type) in hostapd_rx_req_put_wlan_response() argument 1754 p->type = msg_type; in hostapd_rx_req_put_wlan_response()
|