Home
last modified time | relevance | path

Searched refs:subtype (Results 1 – 25 of 203) sorted by relevance

123456789

/freebsd/sbin/nvmecontrol/modules/wdc/
H A Dwdc.c419 typedef void (*subprint_fn_t)(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
427 static void print_hgst_info_write_errors(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
428 static void print_hgst_info_read_errors(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
429 static void print_hgst_info_verify_errors(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
430 static void print_hgst_info_self_test(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
431 static void print_hgst_info_background_scan(void *buf, uint16_t subtype, uint8_t res, uint32_t size…
432 static void print_hgst_info_erase_errors(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
433 static void print_hgst_info_erase_counts(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
434 static void print_hgst_info_temp_history(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
435 static void print_hgst_info_ssd_perf(void *buf, uint16_t subtype, uint8_t res, uint32_t size);
[all …]
/freebsd/sys/net80211/
H A Dieee80211_adhoc.c74 int subtype, const struct ieee80211_rx_stats *, int, int);
76 int subtype, const struct ieee80211_rx_stats *rxs, int, int);
77 static void adhoc_recv_ctl(struct ieee80211_node *, struct mbuf *, int subtype);
283 doprint(struct ieee80211vap *vap, int subtype) in doprint() argument
285 switch (subtype) { in doprint()
315 uint8_t dir, type, subtype, qos; in adhoc_input() local
340 subtype = IEEE80211_FC0_SUBTYPE_QOS_DATA; in adhoc_input()
375 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in adhoc_input()
396 (subtype == IEEE80211_FC0_SUBTYPE_BEACON || in adhoc_input()
397 subtype == IEEE80211_FC0_SUBTYPE_PROBE_RESP)) && in adhoc_input()
[all …]
H A Dieee80211_sta.c75 int subtype, const struct ieee80211_rx_stats *, int rssi, int nf);
76 static void sta_recv_ctl(struct ieee80211_node *, struct mbuf *, int subtype);
514 doprint(struct ieee80211vap *vap, int subtype) in doprint() argument
516 switch (subtype) { in doprint()
546 uint8_t dir, type, subtype, qos; in sta_input() local
598 subtype = IEEE80211_FC0_SUBTYPE_QOS_DATA; in sta_input()
607 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in sta_input()
650 if ( IEEE80211_HAS_SEQ(type, subtype) && in sta_input()
792 if (subtype == IEEE80211_FC0_SUBTYPE_QOS_DATA) in sta_input()
837 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || in sta_input()
[all …]
H A Dieee80211_wds.c67 static void wds_recv_mgmt(struct ieee80211_node *, struct mbuf *, int subtype,
417 uint8_t dir, type, subtype, qos; in wds_input() local
441 subtype = IEEE80211_FC0_SUBTYPE_QOS_DATA; in wds_input()
478 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in wds_input()
499 if (IEEE80211_HAS_SEQ(type, subtype)) { in wds_input()
581 if (subtype == IEEE80211_FC0_SUBTYPE_QOS_DATA) in wds_input()
621 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || in wds_input()
622 subtype == IEEE80211_FC0_SUBTYPE_QOS_NULL) in wds_input()
706 ieee80211_mgt_subtype_name(subtype), in wds_input()
716 vap->iv_recv_mgmt(ni, m, subtype, rxs, rssi, nf); in wds_input()
[all …]
H A Dieee80211_input.h65 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 Dieee80211_hostap.c76 int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf);
453 doprint(struct ieee80211vap *vap, int subtype) in doprint() argument
455 switch (subtype) { in doprint()
485 uint8_t dir, type, subtype, qos; in hostap_input() local
510 subtype = IEEE80211_FC0_SUBTYPE_QOS_DATA; in hostap_input()
545 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in hostap_input()
566 subtype == IEEE80211_FC0_SUBTYPE_BEACON) && in hostap_input()
578 if (IEEE80211_HAS_SEQ(type, subtype)) { in hostap_input()
712 if (subtype == IEEE80211_FC0_SUBTYPE_QOS_DATA) in hostap_input()
750 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || in hostap_input()
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-lldp.c658 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 …]
H A Dprint-eap.c152 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 Dprint-mptcp.c469 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/bin/sh/
H A Dexpand.c542 int subtype, int startloc) in subevalvar_trim() argument
555 switch (subtype) { in subevalvar_trim()
616 const char *var, int subtype, int startloc, int varflags) in subevalvar_misc() argument
626 switch (subtype) { in subevalvar_misc()
656 int subtype; in evalvar() local
670 subtype = varflags & VSTYPE; in evalvar()
694 switch (subtype) { in evalvar()
705 if (set && subtype != VSPLUS) { in evalvar()
713 strtodest(buf, flag, subtype, in evalvar()
716 varvalue(var, varflags & VSQUOTE, subtype, flag, in evalvar()
[all …]
H A Dshow.c171 int subtype; in sharg() local
187 subtype = *++p; in sharg()
188 if (subtype == VSLENGTH) in sharg()
194 if (subtype & VSNUL) in sharg()
197 switch (subtype & VSTYPE) { in sharg()
230 printf("<subtype %d>", subtype); in sharg()
H A Dparser.c1615 int subtype; in readtoken1() local
1640 subtype = VSNORMAL; in readtoken1()
1644 subtype = 0; in readtoken1()
1670 if (subtype != VSNORMAL) { in readtoken1()
1682 if (subtype == 0 && c1 == '#') { in readtoken1()
1683 subtype = VSLENGTH; in readtoken1()
1697 subtype = 0; in readtoken1()
1701 subtype = VSERROR; in readtoken1()
1709 if (subtype == 0) { in readtoken1()
1724 subtype = VSERROR; in readtoken1()
[all …]
/freebsd/sbin/pfctl/
H A Dpfctl_osfp.c99 char *class, *version, *subtype, *desc, *tcpopts; in pfctl_file_fingerprints() local
108 class = version = subtype = desc = tcpopts = NULL; in pfctl_file_fingerprints()
119 if (subtype) in pfctl_file_fingerprints()
120 free(subtype); in pfctl_file_fingerprints()
125 class = version = subtype = desc = tcpopts = NULL; in pfctl_file_fingerprints()
163 GET_STR(subtype, "OS subtype", 0) || in pfctl_file_fingerprints()
243 strlcpy(fp.fp_os.fp_subtype_nm, subtype, in pfctl_file_fingerprints()
257 if (subtype) in pfctl_file_fingerprints()
258 free(subtype); in pfctl_file_fingerprints()
341 int class, version, subtype; in pfctl_get_fingerprint() local
[all …]
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_sake.c91 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 …]
H A Deap_server_sim.c398 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 …]
H A Deap_server_aka.c725 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/crypto/heimdal/lib/asn1/
H A Dgen_seq.c48 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 Dgen_template.c97 return symbol_name(basename, t->subtype);
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/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_main.c56 u32 subtype; member
63 .subtype = IFM_1000_CX_SGMII,
67 .subtype = IFM_1000_KX,
71 .subtype = IFM_10G_CX4,
75 .subtype = IFM_10G_KX4,
79 .subtype = IFM_10G_KR,
83 .subtype = IFM_20G_KR2,
87 .subtype = IFM_40G_CR4,
91 .subtype = IFM_40G_KR4,
95 .subtype = IFM_56G_R4,
[all …]
/freebsd/stand/efi/libefi/
H A Ddevpath.c139 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/sbin/ifconfig/
H A Difmedia.c196 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/contrib/wpa/src/eap_peer/
H A Deap_sake.c115 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/contrib/bsnmp/gensnmptree/
H A Dgensnmptree.c201 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/sys/kern/
H A Dsubr_smp.c1121 topo_node_type type, uintptr_t subtype) in topo_add_node_by_hwid() argument
1128 && node->type == type && node->subtype == subtype) { in topo_add_node_by_hwid()
1138 node->subtype = subtype; in topo_add_node_by_hwid()
1150 topo_node_type type, uintptr_t subtype) in topo_find_node_by_hwid() argument
1157 && node->type == type && node->subtype == subtype) { in topo_find_node_by_hwid()
1248 node->subtype = 1; in topo_set_pu_id()
1261 uintptr_t subtype; member
1268 .subtype = CG_SHARE_L3,
1291 (spec->match_subtype && node->subtype != spec->subtype)) { in topo_analyze_table()
/freebsd/tools/tools/net80211/wlaninject/
H A Dwlaninject.c199 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()

123456789