| /freebsd-12.1/sbin/nvmecontrol/modules/wdc/ |
| H A D | wdc.c | 301 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); in print_hgst_info_write_errors() 322 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); in print_hgst_info_read_errors() 341 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); in print_hgst_info_verify_errors() 478 print_hgst_info_subpage_gen(buf, subtype, size, kv, nitems(kv)); in print_hgst_info_erase_errors() 485 printf("XXX: Erase counts subpage: %p, %#x %d\n", buf, subtype, size); in print_hgst_info_erase_counts() 579 if (sp->key == subtype) { in kv_indirect() 580 sp->fn(buf, subtype, res, size); in kv_indirect() 584 printf("No handler for page type %x\n", subtype); in kv_indirect() 593 uint8_t subtype, res; in print_hgst_info_log() local 607 subtype = *walker++ & 0x3f; /* subtype */ in print_hgst_info_log() [all …]
|
| /freebsd-12.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() 648 ieee80211_mgt_subtype_name(subtype), in adhoc_input() 664 vap->iv_recv_ctl(ni, m, subtype); in adhoc_input() 718 switch (subtype) { in adhoc_recv_mgmt() 759 subtype, rssi, nf); in adhoc_recv_mgmt() 993 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 575 subtype = IEEE80211_FC0_SUBTYPE_QOS; in sta_input() 647 if ( IEEE80211_HAS_SEQ(type, subtype) && in sta_input() 969 vap->iv_recv_ctl(ni, m, subtype); in sta_input() 1362 switch (subtype) { in sta_recv_mgmt() 1586 &scan, wh, subtype, rssi, nf); in sta_recv_mgmt() 1631 subtype, rssi, nf); in sta_recv_mgmt() 1773 ISREASSOC(subtype) ? "re" : ""); in sta_recv_mgmt() 1866 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() 705 ieee80211_mgt_subtype_name(subtype), in wds_input() 715 vap->iv_recv_mgmt(ni, m, subtype, rxs, rssi, nf); in wds_input() 752 switch (subtype) { in wds_recv_mgmt() [all …]
|
| H A D | ieee80211_input.h | 67 ieee80211_mgt_subtype_name(subtype), \ 203 uint8_t type, subtype; in ieee80211_check_rxseq() local 209 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in ieee80211_check_rxseq() 215 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 | 453 switch (subtype) { in doprint() 483 uint8_t dir, type, subtype, qos; in hostap_input() local 508 subtype = IEEE80211_FC0_SUBTYPE_QOS; in hostap_input() 577 if (IEEE80211_HAS_SEQ(type, subtype)) { in hostap_input() 711 if (subtype == IEEE80211_FC0_SUBTYPE_QOS) in hostap_input() 840 ieee80211_mgt_subtype_name(subtype), in hostap_input() 888 vap->iv_recv_ctl(ni, m, subtype); in hostap_input() 1756 switch (subtype) { in hostap_recv_mgmt() 1801 subtype, rssi, nf); in hostap_recv_mgmt() 2303 ieee80211_mgt_subtype_name(subtype), in hostap_recv_mgmt() [all …]
|
| /freebsd-12.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-12.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 | parser.c | 1617 int subtype; in readtoken1() local 1642 subtype = VSNORMAL; in readtoken1() 1646 subtype = 0; in readtoken1() 1685 subtype = VSLENGTH; in readtoken1() 1699 subtype = 0; in readtoken1() 1703 subtype = VSERROR; in readtoken1() 1711 if (subtype == 0) { in readtoken1() 1738 subtype++; in readtoken1() 1746 subtype = VSERROR; in readtoken1() 1768 if (subtype == VSMINUS || subtype == VSPLUS || in readtoken1() [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()
|
| /freebsd-12.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-12.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() 735 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() 1203 u8 subtype; in eap_aka_process() local 1213 subtype = *pos; in eap_aka_process() 1216 if (eap_aka_subtype_ok(data, subtype)) { in eap_aka_process() [all …]
|
| /freebsd-12.1/sys/dev/mlx5/mlx5_en/ |
| H A D | mlx5_en_main.c | 51 u32 subtype; member 62 .subtype = IFM_1000_KX, 74 .subtype = IFM_10G_KR, 90 .subtype = IFM_56G_R4, 98 .subtype = IFM_10G_SR, 102 .subtype = IFM_10G_ER, 106 .subtype = IFM_10G_LR, 146 .subtype = IFM_10G_T, 233 .subtype = IFM_10G_T, 502 switch (subtype) { in mlx5e_find_link_mode() [all …]
|
| /freebsd-12.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-12.1/sys/kern/ |
| H A D | subr_smp.c | 927 topo_node_type type, uintptr_t subtype) in topo_add_node_by_hwid() argument 934 && node->type == type && node->subtype == subtype) { in topo_add_node_by_hwid() 944 node->subtype = subtype; in topo_add_node_by_hwid() 956 topo_node_type type, uintptr_t subtype) in topo_find_node_by_hwid() argument 963 && node->type == type && node->subtype == subtype) { in topo_find_node_by_hwid() 1054 node->subtype = 1; in topo_set_pu_id() 1067 uintptr_t subtype; member 1074 .subtype = CG_SHARE_L3, 1097 (spec->match_subtype && node->subtype != spec->subtype)) { in topo_analyze_table()
|
| /freebsd-12.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-12.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-12.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-12.1/contrib/ldns/ |
| H A D | dnssec.c | 739 subtype = *d & 0xff; in ldns_dnssec_create_nsec_bitmap() 741 if (windows[window] < (int)subtype) { in ldns_dnssec_create_nsec_bitmap() 742 windows[window] = (int)subtype; in ldns_dnssec_create_nsec_bitmap() 779 subtype = *d & 0xff; in ldns_dnssec_create_nsec_bitmap() 780 data[windows[*d >> 8] + subtype/8] |= (0x80 >> (subtype % 8)); in ldns_dnssec_create_nsec_bitmap() 1395 uint8_t subtype = type & 0xff; in ldns_nsec_bitmap_covers_type() local 1413 return dptr[2 + subtype / 8] & (0x80 >> (subtype % 8)); in ldns_nsec_bitmap_covers_type() 1432 uint8_t subtype = type & 0xff; in ldns_nsec_bitmap_set_type() local 1450 dptr[2 + subtype / 8] |= (0x80 >> (subtype % 8)); in ldns_nsec_bitmap_set_type() 1470 uint8_t subtype = type & 0xff; in ldns_nsec_bitmap_clear_type() local [all …]
|
| /freebsd-12.1/sbin/ipfw/ |
| H A D | dummynet.c | 135 oid->subtype = 0; in oid_fill() 240 ep->oid.subtype = subtype; in get_extra_parms() 249 switch (subtype) { in get_extra_parms() 1361 aqm_extra ->oid.subtype = 0; in ipfw_config_pipe() 1373 sch_extra ->oid.subtype = 0; in ipfw_config_pipe() 1378 aqm_extra ->oid.subtype = 0; in ipfw_config_pipe() 1576 aqm_extra->oid.subtype = DN_AQM_PARAMS; in ipfw_config_pipe() 1658 sch->oid.subtype = 0; /* use string */ in ipfw_config_pipe() 1952 oid->subtype = DN_LINK; /* list pipe */ in dummynet_list() 1955 oid->subtype = DN_FS; /* list queue */ in dummynet_list() [all …]
|
| /freebsd-12.1/contrib/libpcap/ |
| H A D | grammar.y | 349 %type <i> NUM action reason type subtype type_subtype dir 571 p80211: TYPE type SUBTYPE subtype 593 subtype: NUM 638 int subtype; variable 640 subtype = str2tok($2, llc_s_subtypes); 641 if (subtype != -1) 642 $$ = gen_llc_s_subtype(cstate, subtype); 644 subtype = str2tok($2, llc_u_subtypes); 645 if (subtype == -1) 647 $$ = gen_llc_u_subtype(cstate, subtype);
|