| /freebsd-13.1/sbin/nvmecontrol/modules/wdc/ |
| H A D | wdc.c | 496 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); in print_hgst_info_write_errors() 517 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); in print_hgst_info_read_errors() 536 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); in print_hgst_info_verify_errors() 673 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); in print_hgst_info_erase_errors() 680 printf("XXX: Erase counts subpage: %p, %#x %d\n", buf, subtype, size); in print_hgst_info_erase_counts() 774 if (sp->key == subtype) { in kv_indirect() 775 sp->fn(buf, subtype, res, size); in kv_indirect() 779 printf("No handler for page type %x\n", subtype); in kv_indirect() 788 uint8_t subtype, res; in print_hgst_info_log() local 802 subtype = *walker++ & 0x3f; /* subtype */ in print_hgst_info_log() [all …]
|
| /freebsd-13.1/sys/net80211/ |
| H A D | ieee80211_adhoc.c | 289 switch (subtype) { in doprint() 319 uint8_t dir, type, subtype, qos; in adhoc_input() local 344 subtype = IEEE80211_FC0_SUBTYPE_QOS; in adhoc_input() 447 if (IEEE80211_HAS_SEQ(type, subtype) && in adhoc_input() 525 if (subtype == IEEE80211_FC0_SUBTYPE_QOS) 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; 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; 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) 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 | 67 ieee80211_mgt_subtype_name(subtype), \ 204 uint8_t type, subtype; in ieee80211_check_rxseq() local 210 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in ieee80211_check_rxseq() 216 if (! IEEE80211_HAS_SEQ(type, subtype)) in ieee80211_check_rxseq() 320 const uint8_t mac[IEEE80211_ADDR_LEN], int subtype, int arg);
|
| H A D | ieee80211_hostap.c | 455 switch (subtype) { in doprint() 485 uint8_t dir, type, subtype, qos; in hostap_input() local 510 subtype = IEEE80211_FC0_SUBTYPE_QOS; in hostap_input() 579 if (IEEE80211_HAS_SEQ(type, subtype)) { in hostap_input() 713 if (subtype == IEEE80211_FC0_SUBTYPE_QOS) in hostap_input() 848 ieee80211_mgt_subtype_name(subtype), in hostap_input() 896 vap->iv_recv_ctl(ni, m, subtype); in hostap_input() 1774 switch (subtype) { in hostap_recv_mgmt() 1819 subtype, rssi, nf); in hostap_recv_mgmt() 2339 ieee80211_mgt_subtype_name(subtype), in hostap_recv_mgmt() [all …]
|
| /freebsd-13.1/contrib/tcpdump/ |
| H A D | print-lldp.c | 659 subtype = *(tptr+3); in lldp_private_8021_print() 663 subtype)); in lldp_private_8021_print() 665 switch (subtype) { in lldp_private_8021_print() 863 subtype)); in lldp_private_8023_print() 865 switch (subtype) { in lldp_private_8023_print() 947 subtype)); in lldp_private_iana_print() 949 switch (subtype) { in lldp_private_iana_print() 983 subtype)); in lldp_private_tia_print() 985 switch (subtype) { in lldp_private_tia_print() 1166 subtype)); in lldp_private_dcbx_print() [all …]
|
| H A D | print-eap.c | 156 u_int tlen, type, subtype; in eap_print() local 199 subtype = *(tptr+4); in eap_print() 201 tok2str(eap_type_values, "unknown", subtype), in eap_print() 202 subtype)); in eap_print() 204 switch (subtype) { in eap_print() 239 if (subtype == EAP_TYPE_TTLS) in eap_print()
|
| /freebsd-13.1/bin/sh/ |
| H A D | expand.c | 563 switch (subtype) { in subevalvar_trim() 634 switch (subtype) { in subevalvar_misc() 664 int subtype; in evalvar() local 702 switch (subtype) { in evalvar() 750 if (subtype == VSPLUS) in evalvar() 753 switch (subtype) { in evalvar() 877 if (subtype == VSLENGTH || subtype == VSTRIMLEFT || in strtodest() 878 subtype == VSTRIMLEFTMAX || subtype == VSTRIMRIGHT || in strtodest() 944 if (subtype == VSLENGTH) in varvalue() 946 splitlater = subtype == VSTRIMLEFT || subtype == VSTRIMLEFTMAX || in varvalue() [all …]
|
| H A D | show.c | 179 int subtype; in sharg() local 195 subtype = *++p; in sharg() 196 if (subtype == VSLENGTH) in sharg() 202 if (subtype & VSNUL) in sharg() 205 switch (subtype & VSTYPE) { in sharg() 238 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-13.1/sbin/pfctl/ |
| H A D | pfctl_osfp.c | 122 if (subtype) in pfctl_file_fingerprints() 123 free(subtype); in pfctl_file_fingerprints() 260 if (subtype) in pfctl_file_fingerprints() 261 free(subtype); in pfctl_file_fingerprints() 344 int class, version, subtype; in pfctl_get_fingerprint() local 356 subtype = PF_OSFP_ANY; in pfctl_get_fingerprint() 381 subtype = PF_OSFP_ANY; in pfctl_get_fingerprint() 462 int class, version, subtype; in pfctl_lookup_fingerprint() local 555 int class, version, subtype; in add_fingerprint() local 610 subtype = PF_OSFP_ANY; in add_fingerprint() [all …]
|
| /freebsd-13.1/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 | 380 u8 subtype) in eap_sim_unexpected_subtype() argument 382 if (subtype == EAP_SIM_SUBTYPE_CLIENT_ERROR) in eap_sim_unexpected_subtype() 387 if (subtype != EAP_SIM_SUBTYPE_START) { in eap_sim_unexpected_subtype() 389 "subtype %d", subtype); in eap_sim_unexpected_subtype() 394 if (subtype != EAP_SIM_SUBTYPE_CHALLENGE) { in eap_sim_unexpected_subtype() 396 "subtype %d", subtype); in eap_sim_unexpected_subtype() 403 "subtype %d", subtype); in eap_sim_unexpected_subtype() 408 if (subtype != EAP_SIM_SUBTYPE_NOTIFICATION) { in eap_sim_unexpected_subtype() 410 "subtype %d", subtype); in eap_sim_unexpected_subtype() 737 u8 subtype; in eap_sim_process() local [all …]
|
| H A D | eap_server_aka.c | 687 if (subtype == EAP_AKA_SUBTYPE_CLIENT_ERROR || in eap_aka_subtype_ok() 693 if (subtype != EAP_AKA_SUBTYPE_IDENTITY) { in eap_aka_subtype_ok() 695 "subtype %d", subtype); in eap_aka_subtype_ok() 700 if (subtype != EAP_AKA_SUBTYPE_CHALLENGE && in eap_aka_subtype_ok() 703 "subtype %d", subtype); in eap_aka_subtype_ok() 710 "subtype %d", subtype); in eap_aka_subtype_ok() 717 "subtype %d", subtype); in eap_aka_subtype_ok() 1205 u8 subtype; in eap_aka_process() local 1215 subtype = *pos; in eap_aka_process() 1218 if (eap_aka_subtype_ok(data, subtype)) { in eap_aka_process() [all …]
|
| /freebsd-13.1/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 | 95 return symbol_name(basename, t->subtype); in tag_symbol() 443 return is_struct(t->subtype, isstruct); in is_struct() 461 t = t->subtype; in compact_tag() 616 int subtype_is_struct = is_struct(t->subtype, isstruct); in template_members() 621 sename = symbol_name(basetype, t->subtype); in template_members() 631 t->subtype, 0, subtype_is_struct, 0); in template_members() 636 is_primitive_type(t->subtype->type) ? "PRIM" : "CONS", in template_members() 649 int subtype_is_struct = is_struct(t->subtype, 0); in template_members() 657 if (asprintf(&sename, "%s_val", symbol_name(basetype, t->subtype)) < 0) in template_members() 664 sename = strdup(symbol_name(basetype, t->subtype)); in template_members() [all …]
|
| /freebsd-13.1/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, 466 switch (subtype) { in mlx5e_find_link_mode() 482 if (mlx5e_ext_mode_table[i][j].subtype == subtype) in mlx5e_find_link_mode() 488 if (mlx5e_mode_table[i].subtype == subtype) in mlx5e_find_link_mode() 4757 if (media_entry.subtype == mlx5e_ext_mode_table[k][m].subtype) in mlx5e_create_ifp() [all …]
|
| /freebsd-13.1/stand/efi/libefi/ |
| H A D | devpath.c | 142 uint8_t subtype = DevicePathSubType(node); in efi_hw_dev_path() local 146 switch (subtype) { in efi_hw_dev_path() 175 if (asprintf(&name, "UnknownHW(%x)%s", subtype, tail) < 0) in efi_hw_dev_path() 186 uint8_t subtype = DevicePathSubType(node); in efi_acpi_dev_path() local 191 switch (subtype) { in efi_acpi_dev_path() 251 uint8_t subtype = DevicePathSubType(node); in efi_messaging_dev_path() local 256 switch (subtype) { in efi_messaging_dev_path() 330 subtype, tail) < 0) in efi_messaging_dev_path() 341 uint8_t subtype = DevicePathSubType(node); in efi_media_dev_path() local 350 switch (subtype) { in efi_media_dev_path() [all …]
|
| /freebsd-13.1/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() 213 IFM_TYPE(ifmr->ifm_ulist[0]) | subtype; in setmedia() 297 ifmedia_t subtype; in get_media_subtype() local 299 subtype = ifconfig_media_lookup_subtype(media, val); in get_media_subtype() 300 if (subtype != INVALID_IFMEDIA) in get_media_subtype() 301 return (subtype); in get_media_subtype()
|
| /freebsd-13.1/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-13.1/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-13.1/sys/kern/ |
| H A D | subr_smp.c | 1111 topo_node_type type, uintptr_t subtype) in topo_add_node_by_hwid() argument 1118 && node->type == type && node->subtype == subtype) { in topo_add_node_by_hwid() 1128 node->subtype = subtype; in topo_add_node_by_hwid() 1140 topo_node_type type, uintptr_t subtype) in topo_find_node_by_hwid() argument 1147 && node->type == type && node->subtype == subtype) { in topo_find_node_by_hwid() 1238 node->subtype = 1; in topo_set_pu_id() 1251 uintptr_t subtype; member 1258 .subtype = CG_SHARE_L3, 1281 (spec->match_subtype && node->subtype != spec->subtype)) { in topo_analyze_table()
|
| /freebsd-13.1/tools/tools/net80211/wlaninject/ |
| H A D | wlaninject.c | 201 int str2subtype(const char *subtype) in str2subtype() argument 204 if (equal(subtype, "preq") || equal(subtype, "probereq")) in str2subtype() 207 else if (equal(subtype, "auth")) in str2subtype() 210 else if (equal(subtype, "areq") || equal(subtype, "assocreq")) in str2subtype() 213 else if (equal(subtype, "data")) in str2subtype() 217 return atoi(subtype) & 0xf; in str2subtype()
|
| /freebsd-13.1/sbin/ipfw/ |
| H A D | dummynet.c | 136 oid->subtype = 0; in oid_fill() 241 ep->oid.subtype = subtype; in get_extra_parms() 250 switch (subtype) { in get_extra_parms() 1362 aqm_extra ->oid.subtype = 0; in ipfw_config_pipe() 1374 sch_extra ->oid.subtype = 0; in ipfw_config_pipe() 1379 aqm_extra ->oid.subtype = 0; in ipfw_config_pipe() 1577 aqm_extra->oid.subtype = DN_AQM_PARAMS; in ipfw_config_pipe() 1659 sch->oid.subtype = 0; /* use string */ in ipfw_config_pipe() 1953 oid->subtype = DN_LINK; /* list pipe */ in dummynet_list() 1956 oid->subtype = DN_FS; /* list queue */ in dummynet_list() [all …]
|