| /freebsd-14-stable/sbin/nvmecontrol/modules/wdc/ |
| HD | wdc.c | 420 typedef void (*subprint_fn_t)(void *buf, uint16_t subtype, uint8_t res, uint32_t size); 428 static void print_hgst_info_write_errors(void *buf, uint16_t subtype, uint8_t res, uint32_t size); 429 static void print_hgst_info_read_errors(void *buf, uint16_t subtype, uint8_t res, uint32_t size); 430 static void print_hgst_info_verify_errors(void *buf, uint16_t subtype, uint8_t res, uint32_t size); 431 static void print_hgst_info_self_test(void *buf, uint16_t subtype, uint8_t res, uint32_t size); 432 static void print_hgst_info_background_scan(void *buf, uint16_t subtype, uint8_t res, uint32_t size… 433 static void print_hgst_info_erase_errors(void *buf, uint16_t subtype, uint8_t res, uint32_t size); 434 static void print_hgst_info_erase_counts(void *buf, uint16_t subtype, uint8_t res, uint32_t size); 435 static void print_hgst_info_temp_history(void *buf, uint16_t subtype, uint8_t res, uint32_t size); 436 static void print_hgst_info_ssd_perf(void *buf, uint16_t subtype, uint8_t res, uint32_t size); [all …]
|
| /freebsd-14-stable/sys/net80211/ |
| HD | ieee80211_adhoc.c | 78 int subtype, const struct ieee80211_rx_stats *, int, int); 80 int subtype, const struct ieee80211_rx_stats *rxs, int, int); 81 static void adhoc_recv_ctl(struct ieee80211_node *, struct mbuf *, int subtype); 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() 380 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in adhoc_input() 401 (subtype == IEEE80211_FC0_SUBTYPE_BEACON || in adhoc_input() 402 subtype == IEEE80211_FC0_SUBTYPE_PROBE_RESP)) && in adhoc_input() [all …]
|
| HD | ieee80211_sta.c | 79 int subtype, const struct ieee80211_rx_stats *, int rssi, int nf); 80 static void sta_recv_ctl(struct ieee80211_node *, struct mbuf *, int subtype); 518 doprint(struct ieee80211vap *vap, int subtype) in doprint() argument 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() 612 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in sta_input() 655 if ( IEEE80211_HAS_SEQ(type, subtype) && in sta_input() 797 if (subtype == IEEE80211_FC0_SUBTYPE_QOS_DATA) in sta_input() 842 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || in sta_input() [all …]
|
| HD | ieee80211_wds.c | 71 static void wds_recv_mgmt(struct ieee80211_node *, struct mbuf *, int subtype, 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() [all …]
|
| HD | 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);
|
| HD | ieee80211_hostap.c | 80 int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf); 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() 550 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in hostap_input() 571 subtype == IEEE80211_FC0_SUBTYPE_BEACON) && in hostap_input() 583 if (IEEE80211_HAS_SEQ(type, subtype)) { in hostap_input() 717 if (subtype == IEEE80211_FC0_SUBTYPE_QOS_DATA) in hostap_input() 755 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || in hostap_input() [all …]
|
| /freebsd-14-stable/contrib/tcpdump/ |
| HD | print-lldp.c | 658 u_int subtype; in lldp_private_8021_print() local 666 subtype = GET_U_1(tptr + 3); in lldp_private_8021_print() 669 tok2str(lldp_8021_subtype_values, "unknown", subtype), in lldp_private_8021_print() 670 subtype); in lldp_private_8021_print() 672 switch (subtype) { in lldp_private_8021_print() 872 u_int subtype; in lldp_private_8023_print() local 877 subtype = GET_U_1(tptr + 3); in lldp_private_8023_print() 880 tok2str(lldp_8023_subtype_values, "unknown", subtype), in lldp_private_8023_print() 881 subtype); in lldp_private_8023_print() 883 switch (subtype) { in lldp_private_8023_print() [all …]
|
| HD | 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()
|
| HD | 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()
|
| HD | print-slow.c | 248 u_int subtype; in slow_print() local 253 subtype = GET_U_1(pptr); in slow_print() 258 switch (subtype) { in slow_print() 293 tok2str(slow_proto_values, "unknown (%u)", subtype), in slow_print() 299 tok2str(slow_proto_values, "unknown (%u)", subtype), in slow_print() 312 switch (subtype) { in slow_print() 328 slow_marker_lacp_print(ndo, pptr, len, subtype); in slow_print()
|
| /freebsd-14-stable/sbin/pfctl/ |
| HD | pfctl_osfp.c | 100 char *class, *version, *subtype, *desc, *tcpopts; in pfctl_file_fingerprints() local 109 class = version = subtype = desc = tcpopts = NULL; in pfctl_file_fingerprints() 120 if (subtype) in pfctl_file_fingerprints() 121 free(subtype); in pfctl_file_fingerprints() 126 class = version = subtype = desc = tcpopts = NULL; in pfctl_file_fingerprints() 164 GET_STR(subtype, "OS subtype", 0) || in pfctl_file_fingerprints() 244 strlcpy(fp.fp_os.fp_subtype_nm, 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 [all …]
|
| /freebsd-14-stable/contrib/wpa/src/eap_server/ |
| HD | 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() 266 wpa_printf(MSG_DEBUG, "EAP-SAKE: Received frame: subtype=%d", subtype); in eap_sake_check() 268 if (data->state == IDENTITY && subtype == EAP_SAKE_SUBTYPE_IDENTITY) in eap_sake_check() 271 if (data->state == CHALLENGE && subtype == EAP_SAKE_SUBTYPE_CHALLENGE) 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() [all …]
|
| HD | 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() 419 if (subtype != EAP_SIM_SUBTYPE_REAUTHENTICATION) { 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() [all …]
|
| HD | eap_server_aka.c | 725 static bool eap_aka_subtype_ok(struct eap_aka_data *data, u8 subtype) in eap_aka_subtype_ok() argument 727 if (subtype == EAP_AKA_SUBTYPE_CLIENT_ERROR || in eap_aka_subtype_ok() 728 subtype == EAP_AKA_SUBTYPE_AUTHENTICATION_REJECT) 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() 741 subtype != EAP_AKA_SUBTYPE_SYNCHRONIZATION_FAILURE) { in eap_aka_subtype_ok() 743 "subtype %d", subtype); in eap_aka_subtype_ok() 748 if (subtype != EAP_AKA_SUBTYPE_REAUTHENTICATION) { in eap_aka_subtype_ok() 750 "subtype %d", subtype); in eap_aka_subtype_ok() [all …]
|
| /freebsd-14-stable/crypto/heimdal/lib/asn1/ |
| HD | 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()
|
| HD | 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-stable/sys/dev/mlx5/mlx5_en/ |
| HD | mlx5_en_main.c | 51 u32 subtype; member 58 .subtype = IFM_1000_CX_SGMII, 62 .subtype = IFM_1000_KX, 66 .subtype = IFM_10G_CX4, 70 .subtype = IFM_10G_KX4, 74 .subtype = IFM_10G_KR, 78 .subtype = IFM_20G_KR2, 82 .subtype = IFM_40G_CR4, 86 .subtype = IFM_40G_KR4, 90 .subtype = IFM_56G_R4, [all …]
|
| /freebsd-14-stable/stand/efi/libefi/ |
| HD | 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() 237 if (asprintf(&name, "UnknownACPI(%x)%s", subtype, tail) < 0) 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 [all …]
|
| /freebsd-14-stable/sbin/ifconfig/ |
| HD | 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-stable/contrib/wpa/src/eap_peer/ |
| HD | 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-stable/contrib/bsnmp/gensnmptree/ |
| HD | gensnmptree.c | 201 char *subtype; /* subtype */ member 206 char *subtype; /* subtype */ member 746 parse_type(enum tok *tok, struct type *t, const char *vname, char **subtype) in parse_type() argument 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 835 u_int syntax = parse_type(&tok, NULL, node->name, &subtype); in parse() 842 node->u.leaf.subtype = subtype; in parse() [all …]
|
| /freebsd-14-stable/sys/kern/ |
| HD | 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-stable/tools/tools/net80211/wlaninject/ |
| HD | 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()
|
| /freebsd-14-stable/sbin/ipfw/ |
| HD | dummynet.c | 134 oid->subtype = 0; in oid_fill() 224 get_extra_parms(uint32_t nr, char *out, int subtype) in get_extra_parms() argument 239 ep->oid.subtype = subtype; in get_extra_parms() 248 switch (subtype) { in get_extra_parms() 669 cmd.oid.subtype = (do_pipe == 1) ? DN_LINK : in ipfw_delete_pipe() 1333 sch_extra ->oid.subtype = 0; /* don't configure scheduler */ in ipfw_config_pipe() 1339 aqm_extra ->oid.subtype = 0; /* don't configure AQM */ in ipfw_config_pipe() 1344 sch->oid.subtype = 0; /* defaults to WF2Q+ */ in ipfw_config_pipe() 1360 aqm_extra ->oid.subtype = 0; in ipfw_config_pipe() 1372 sch_extra ->oid.subtype = 0; in ipfw_config_pipe() [all …]
|
| /freebsd-14-stable/contrib/ldns/ |
| HD | dnssec.c | 724 uint8_t subtype; /* least significant octet of type */ in ldns_dnssec_create_nsec_bitmap() local 746 subtype = *d & 0xff; in ldns_dnssec_create_nsec_bitmap() 748 if (windows[window] < (int)subtype) { in ldns_dnssec_create_nsec_bitmap() 749 windows[window] = (int)subtype; in ldns_dnssec_create_nsec_bitmap() 786 subtype = *d & 0xff; in ldns_dnssec_create_nsec_bitmap() 787 data[windows[*d >> 8] + subtype/8] |= (0x80 >> (subtype % 8)); in ldns_dnssec_create_nsec_bitmap() 1404 uint8_t subtype = type & 0xff; in ldns_nsec_bitmap_covers_type() local 1419 if (dptr[0] == window && subtype / 8 < dptr[1] && in ldns_nsec_bitmap_covers_type() 1422 return dptr[2 + subtype / 8] & (0x80 >> (subtype % 8)); in ldns_nsec_bitmap_covers_type() 1441 uint8_t subtype = type & 0xff; in ldns_nsec_bitmap_set_type() local [all …]
|