| /freebsd-14.2/sbin/nvmecontrol/modules/wdc/ |
| H A D | wdc.c | 494 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); in print_hgst_info_write_errors() 515 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); in print_hgst_info_read_errors() 534 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); in print_hgst_info_verify_errors() 671 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); in print_hgst_info_erase_errors() 678 printf("XXX: Erase counts subpage: %p, %#x %d\n", buf, subtype, size); in print_hgst_info_erase_counts() 772 if (sp->key == subtype) { in kv_indirect() 773 sp->fn(buf, subtype, res, size); in kv_indirect() 777 printf("No handler for page type %x\n", subtype); in kv_indirect() 785 uint8_t subtype, res; in print_hgst_info_log() local 798 subtype = *walker++ & 0x3f; /* subtype */ in print_hgst_info_log() [all …]
|
| /freebsd-14.2/sys/net80211/ |
| H A D | ieee80211_adhoc.c | 287 doprint(struct ieee80211vap *vap, int subtype) in doprint() argument 289 switch (subtype) { in doprint() 319 uint8_t dir, type, subtype, qos; in adhoc_input() local 344 subtype = IEEE80211_FC0_SUBTYPE_QOS_DATA; in adhoc_input() 447 if (IEEE80211_HAS_SEQ(type, subtype) && in adhoc_input() 654 ieee80211_mgt_subtype_name(subtype), in adhoc_input() 670 vap->iv_recv_ctl(ni, m, subtype); in adhoc_input() 733 switch (subtype) { in adhoc_recv_mgmt() 774 subtype, rssi, nf); in adhoc_recv_mgmt() 1025 switch (subtype) { in ahdemo_recv_mgmt() [all …]
|
| H A D | ieee80211_sta.c | 520 switch (subtype) { in doprint() 550 uint8_t dir, type, subtype, qos; in sta_input() local 603 subtype = IEEE80211_FC0_SUBTYPE_QOS_DATA; in sta_input() 655 if ( IEEE80211_HAS_SEQ(type, subtype) && in sta_input() 983 vap->iv_recv_ctl(ni, m, subtype); in sta_input() 1418 switch (subtype) { in sta_recv_mgmt() 1656 &scan, wh, subtype, rssi, nf); in sta_recv_mgmt() 1701 subtype, rssi, nf); in sta_recv_mgmt() 1843 ISREASSOC(subtype) ? "re" : ""); in sta_recv_mgmt() 1938 ISREASSOC(subtype) ? "re" : "", in sta_recv_mgmt() [all …]
|
| H A D | ieee80211_wds.c | 421 uint8_t dir, type, subtype, qos; in wds_input() local 445 subtype = IEEE80211_FC0_SUBTYPE_QOS_DATA; in wds_input() 483 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in wds_input() 504 if (IEEE80211_HAS_SEQ(type, subtype)) { in wds_input() 586 if (subtype == IEEE80211_FC0_SUBTYPE_QOS_DATA) in wds_input() 626 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || in wds_input() 627 subtype == IEEE80211_FC0_SUBTYPE_QOS_NULL) in wds_input() 711 ieee80211_mgt_subtype_name(subtype), in wds_input() 721 vap->iv_recv_mgmt(ni, m, subtype, rxs, rssi, nf); in wds_input() 758 switch (subtype) { in wds_recv_mgmt() [all …]
|
| H A D | ieee80211_input.h | 65 ieee80211_mgt_subtype_name(subtype), \ 202 uint8_t type, subtype; in ieee80211_check_rxseq() local 208 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in ieee80211_check_rxseq() 214 if (! IEEE80211_HAS_SEQ(type, subtype)) in ieee80211_check_rxseq() 318 const uint8_t mac[IEEE80211_ADDR_LEN], int subtype, int arg);
|
| H A D | ieee80211_hostap.c | 457 doprint(struct ieee80211vap *vap, int subtype) in doprint() argument 459 switch (subtype) { in doprint() 489 uint8_t dir, type, subtype, qos; in hostap_input() local 514 subtype = IEEE80211_FC0_SUBTYPE_QOS_DATA; in hostap_input() 583 if (IEEE80211_HAS_SEQ(type, subtype)) { in hostap_input() 852 ieee80211_mgt_subtype_name(subtype), in hostap_input() 900 vap->iv_recv_ctl(ni, m, subtype); in hostap_input() 1778 switch (subtype) { in hostap_recv_mgmt() 1823 subtype, rssi, nf); in hostap_recv_mgmt() 2343 ieee80211_mgt_subtype_name(subtype), in hostap_recv_mgmt() [all …]
|
| /freebsd-14.2/contrib/tcpdump/ |
| H A D | print-lldp.c | 658 u_int subtype; in lldp_private_8021_print() local 670 subtype); in lldp_private_8021_print() 872 u_int subtype; in lldp_private_8023_print() local 881 subtype); in lldp_private_8023_print() 957 u_int subtype; in lldp_private_iana_print() local 966 subtype); in lldp_private_iana_print() 990 u_int subtype; in lldp_private_tia_print() local 1003 subtype); in lldp_private_tia_print() 1175 u_int subtype; in lldp_private_dcbx_print() local 1190 subtype); in lldp_private_dcbx_print() [all …]
|
| H A D | print-eap.c | 152 u_int type, subtype, len; in eap_print() local 187 subtype = GET_U_1(cp + 4); in eap_print() 189 tok2str(eap_type_values, "unknown", subtype), in eap_print() 190 subtype); in eap_print() 192 switch (subtype) { in eap_print() 236 if (subtype == EAP_TYPE_TTLS) in eap_print()
|
| H A D | print-mptcp.c | 469 u_int subtype; in mptcp_print() local 476 subtype = MPTCP_OPT_SUBTYPE(GET_U_1(opt->sub_etc)); in mptcp_print() 477 subtype = ND_MIN(subtype, MPTCP_SUB_FCLOSE + 1); in mptcp_print() 481 ND_PRINT(" %s", mptcp_options[subtype].name); in mptcp_print() 482 return mptcp_options[subtype].print(ndo, cp, len, flags); in mptcp_print()
|
| /freebsd-14.2/bin/sh/ |
| H A D | expand.c | 561 switch (subtype) { in subevalvar_trim() 632 switch (subtype) { in subevalvar_misc() 662 int subtype; in evalvar() local 700 switch (subtype) { in evalvar() 748 if (subtype == VSPLUS) in evalvar() 751 switch (subtype) { in evalvar() 875 if (subtype == VSLENGTH || subtype == VSTRIMLEFT || in strtodest() 876 subtype == VSTRIMLEFTMAX || subtype == VSTRIMRIGHT || in strtodest() 942 if (subtype == VSLENGTH) in varvalue() 944 splitlater = subtype == VSTRIMLEFT || subtype == VSTRIMLEFTMAX || in varvalue() [all …]
|
| H A D | show.c | 177 int subtype; in sharg() local 193 subtype = *++p; in sharg() 194 if (subtype == VSLENGTH) in sharg() 200 if (subtype & VSNUL) in sharg() 203 switch (subtype & VSTYPE) { in sharg() 236 printf("<subtype %d>", subtype); in sharg()
|
| H A D | parser.c | 1620 int subtype; in readtoken1() local 1645 subtype = VSNORMAL; in readtoken1() 1649 subtype = 0; in readtoken1() 1688 subtype = VSLENGTH; in readtoken1() 1702 subtype = 0; in readtoken1() 1706 subtype = VSERROR; in readtoken1() 1714 if (subtype == 0) { in readtoken1() 1741 subtype++; in readtoken1() 1749 subtype = VSERROR; in readtoken1() 1771 if (subtype == VSMINUS || subtype == VSPLUS || in readtoken1() [all …]
|
| /freebsd-14.2/sbin/pfctl/ |
| H A D | pfctl_osfp.c | 120 if (subtype) in pfctl_file_fingerprints() 121 free(subtype); in pfctl_file_fingerprints() 258 if (subtype) in pfctl_file_fingerprints() 259 free(subtype); in pfctl_file_fingerprints() 342 int class, version, subtype; in pfctl_get_fingerprint() local 354 subtype = PF_OSFP_ANY; in pfctl_get_fingerprint() 379 subtype = PF_OSFP_ANY; in pfctl_get_fingerprint() 460 int class, version, subtype; in pfctl_lookup_fingerprint() local 553 int class, version, subtype; in add_fingerprint() local 608 subtype = PF_OSFP_ANY; in add_fingerprint() [all …]
|
| /freebsd-14.2/contrib/wpa/src/eap_server/ |
| H A D | eap_server_sake.c | 91 u8 id, size_t length, u8 subtype) in eap_sake_build_msg() argument 110 sake->subtype = subtype; in eap_sake_build_msg() 241 u8 version, session_id, subtype; in eap_sake_check() local 253 subtype = resp->subtype; in eap_sake_check() 268 if (data->state == IDENTITY && subtype == EAP_SAKE_SUBTYPE_IDENTITY) in eap_sake_check() 274 if (data->state == CONFIRM && subtype == EAP_SAKE_SUBTYPE_CONFIRM) in eap_sake_check() 277 if (subtype == EAP_SAKE_SUBTYPE_AUTH_REJECT) in eap_sake_check() 281 subtype, data->state); in eap_sake_check() 425 u8 subtype; in eap_sake_process() local 435 subtype = resp->subtype; in eap_sake_process() [all …]
|
| H A D | eap_server_sim.c | 398 u8 subtype) in eap_sim_unexpected_subtype() argument 400 if (subtype == EAP_SIM_SUBTYPE_CLIENT_ERROR) in eap_sim_unexpected_subtype() 405 if (subtype != EAP_SIM_SUBTYPE_START) { in eap_sim_unexpected_subtype() 407 "subtype %d", subtype); in eap_sim_unexpected_subtype() 412 if (subtype != EAP_SIM_SUBTYPE_CHALLENGE) { in eap_sim_unexpected_subtype() 414 "subtype %d", subtype); in eap_sim_unexpected_subtype() 421 "subtype %d", subtype); in eap_sim_unexpected_subtype() 426 if (subtype != EAP_SIM_SUBTYPE_NOTIFICATION) { in eap_sim_unexpected_subtype() 428 "subtype %d", subtype); in eap_sim_unexpected_subtype() 858 u8 subtype; in eap_sim_process() local [all …]
|
| H A D | eap_server_aka.c | 727 if (subtype == EAP_AKA_SUBTYPE_CLIENT_ERROR || in eap_aka_subtype_ok() 733 if (subtype != EAP_AKA_SUBTYPE_IDENTITY) { in eap_aka_subtype_ok() 735 "subtype %d", subtype); in eap_aka_subtype_ok() 740 if (subtype != EAP_AKA_SUBTYPE_CHALLENGE && in eap_aka_subtype_ok() 743 "subtype %d", subtype); in eap_aka_subtype_ok() 750 "subtype %d", subtype); in eap_aka_subtype_ok() 757 "subtype %d", subtype); in eap_aka_subtype_ok() 1313 u8 subtype; in eap_aka_process() local 1323 subtype = *pos; in eap_aka_process() 1326 if (eap_aka_subtype_ok(data, subtype)) { in eap_aka_process() [all …]
|
| /freebsd-14.2/crypto/heimdal/lib/asn1/ |
| H A D | gen_seq.c | 48 type = type->subtype; in generate_type_seq() 60 if (type->subtype->type != TType) { in generate_type_seq() 63 s->name, (int)type->subtype->type); in generate_type_seq() 67 subname = type->subtype->symbol->gen_name; in generate_type_seq()
|
| H A D | gen_template.c | 97 return symbol_name(basename, t->subtype); in tag_symbol() 445 return is_struct(t->subtype, isstruct); in is_struct() 463 t = t->subtype; in compact_tag() 620 int subtype_is_struct = is_struct(t->subtype, isstruct); in template_members() 625 sename = symbol_name(basetype, t->subtype); in template_members() 635 t->subtype, 0, subtype_is_struct, 0); in template_members() 640 is_primitive_type(t->subtype->type) ? "PRIM" : "CONS", in template_members() 653 int subtype_is_struct = is_struct(t->subtype, 0); in template_members() 661 if (asprintf(&sename, "%s_val", symbol_name(basetype, t->subtype)) < 0) in template_members() 668 sename = strdup(symbol_name(basetype, t->subtype)); in template_members() [all …]
|
| /freebsd-14.2/sys/dev/mlx5/mlx5_en/ |
| H A D | mlx5_en_main.c | 51 u32 subtype; member 74 .subtype = IFM_10G_KR, 90 .subtype = IFM_56G_R4, 98 .subtype = IFM_10G_SR, 102 .subtype = IFM_10G_ER, 138 .subtype = IFM_10G_T, 472 switch (subtype) { in mlx5e_find_link_mode() 488 if (mlx5e_ext_mode_table[i][j].subtype == subtype) in mlx5e_find_link_mode() 494 if (mlx5e_mode_table[i].subtype == subtype) in mlx5e_find_link_mode() 4697 if (media_entry.subtype == mlx5e_ext_mode_table[k][m].subtype) in mlx5e_create_ifp() [all …]
|
| /freebsd-14.2/stand/efi/libefi/ |
| H A D | devpath.c | 139 uint8_t subtype = DevicePathSubType(node); in efi_hw_dev_path() local 143 switch (subtype) { in efi_hw_dev_path() 172 if (asprintf(&name, "UnknownHW(%x)%s", subtype, tail) < 0) in efi_hw_dev_path() 183 uint8_t subtype = DevicePathSubType(node); in efi_acpi_dev_path() local 188 switch (subtype) { in efi_acpi_dev_path() 248 uint8_t subtype = DevicePathSubType(node); in efi_messaging_dev_path() local 253 switch (subtype) { in efi_messaging_dev_path() 327 subtype, tail) < 0) in efi_messaging_dev_path() 338 uint8_t subtype = DevicePathSubType(node); in efi_media_dev_path() local 347 switch (subtype) { in efi_media_dev_path() [all …]
|
| /freebsd-14.2/sbin/ifconfig/ |
| H A D | ifmedia.c | 196 int subtype; in setmedia() local 209 subtype = get_media_subtype(ifmr->ifm_ulist[0], val); in setmedia() 212 IFM_TYPE(ifmr->ifm_ulist[0]) | subtype; in setmedia() 288 ifmedia_t subtype; in get_media_subtype() local 290 subtype = ifconfig_media_lookup_subtype(media, val); in get_media_subtype() 291 if (subtype != INVALID_IFMEDIA) in get_media_subtype() 292 return (subtype); in get_media_subtype()
|
| /freebsd-14.2/contrib/wpa/src/eap_peer/ |
| H A D | eap_sake.c | 115 int id, size_t length, u8 subtype) in eap_sake_build_msg() argument 134 sake->subtype = subtype; in eap_sake_build_msg() 379 u8 subtype, session_id, id; in eap_sake_process() local 390 subtype = req->subtype; in eap_sake_process() 395 "session_id %d", subtype, session_id); in eap_sake_process() 413 switch (subtype) { in eap_sake_process() 428 "unknown subtype %d", subtype); in eap_sake_process()
|
| /freebsd-14.2/contrib/bsnmp/gensnmptree/ |
| H A D | gensnmptree.c | 201 char *subtype; /* subtype */ member 206 char *subtype; /* subtype */ member 752 if (subtype != NULL) in parse_type() 753 *subtype = NULL; in parse_type() 797 if (subtype != NULL) in parse_type() 798 *subtype = savetok(); in parse_type() 834 char *subtype; in parse() local 842 node->u.leaf.subtype = subtype; in parse() 848 node->u.column.subtype = subtype; in parse() 868 char *subtype; in parse() local [all …]
|
| /freebsd-14.2/sys/kern/ |
| H A D | subr_smp.c | 1130 topo_node_type type, uintptr_t subtype) in topo_add_node_by_hwid() argument 1137 && node->type == type && node->subtype == subtype) { in topo_add_node_by_hwid() 1147 node->subtype = subtype; in topo_add_node_by_hwid() 1159 topo_node_type type, uintptr_t subtype) in topo_find_node_by_hwid() argument 1166 && node->type == type && node->subtype == subtype) { in topo_find_node_by_hwid() 1257 node->subtype = 1; in topo_set_pu_id() 1270 uintptr_t subtype; member 1277 .subtype = CG_SHARE_L3, 1300 (spec->match_subtype && node->subtype != spec->subtype)) { in topo_analyze_table()
|
| /freebsd-14.2/tools/tools/net80211/wlaninject/ |
| H A D | wlaninject.c | 199 int str2subtype(const char *subtype) in str2subtype() argument 202 if (equal(subtype, "preq") || equal(subtype, "probereq")) in str2subtype() 205 else if (equal(subtype, "auth")) in str2subtype() 208 else if (equal(subtype, "areq") || equal(subtype, "assocreq")) in str2subtype() 211 else if (equal(subtype, "data")) in str2subtype() 215 return atoi(subtype) & 0xf; in str2subtype()
|