| /dflybsd-src/sys/netproto/802_11/wlan/ |
| H A D | ieee80211_adhoc.c | 76 int subtype, const struct ieee80211_rx_stats *, int, int); 78 int subtype, const struct ieee80211_rx_stats *rxs, int, int); 79 static void adhoc_recv_ctl(struct ieee80211_node *, struct mbuf *, int subtype); 271 doprint(struct ieee80211vap *vap, int subtype) in doprint() argument 273 switch (subtype) { in doprint() 303 uint8_t dir, type, subtype, qos; in adhoc_input() local 318 subtype = IEEE80211_FC0_SUBTYPE_QOS; in adhoc_input() 354 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in adhoc_input() 414 if (IEEE80211_HAS_SEQ(type, subtype) && in adhoc_input() 492 if (subtype == IEEE80211_FC0_SUBTYPE_QOS) { in adhoc_input() [all …]
|
| H A D | ieee80211_sta.c | 76 int subtype, const struct ieee80211_rx_stats *, int rssi, int nf); 77 static void sta_recv_ctl(struct ieee80211_node *, struct mbuf *, int subtype); 516 doprint(struct ieee80211vap *vap, int subtype) in doprint() argument 518 switch (subtype) { in doprint() 548 uint8_t dir, type, subtype, qos; in sta_input() local 563 subtype = IEEE80211_FC0_SUBTYPE_QOS; in sta_input() 599 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in sta_input() 641 if ( IEEE80211_HAS_SEQ(type, subtype) && in sta_input() 768 if (subtype == IEEE80211_FC0_SUBTYPE_QOS) { in sta_input() 810 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || in sta_input() [all …]
|
| H A D | ieee80211_wds.c | 69 static void wds_recv_mgmt(struct ieee80211_node *, struct mbuf *, int subtype, 421 uint8_t dir, type, subtype, qos; in wds_input() local 435 subtype = IEEE80211_FC0_SUBTYPE_QOS; in wds_input() 473 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in wds_input() 494 if (IEEE80211_HAS_SEQ(type, subtype)) { in wds_input() 576 if (subtype == IEEE80211_FC0_SUBTYPE_QOS) { in wds_input() 618 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || in wds_input() 619 subtype == IEEE80211_FC0_SUBTYPE_QOS_NULL) in wds_input() 696 ieee80211_mgt_subtype_name(subtype), in wds_input() 706 vap->iv_recv_mgmt(ni, m, subtype, rxs, rssi, nf); in wds_input() [all …]
|
| H A D | ieee80211_hostap.c | 76 int subtype, const struct ieee80211_rx_stats *rxs, int rssi, int nf); 467 doprint(struct ieee80211vap *vap, int subtype) in doprint() argument 469 switch (subtype) { in doprint() 499 uint8_t dir, type, subtype, qos; in hostap_input() local 514 subtype = IEEE80211_FC0_SUBTYPE_QOS; 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) { in hostap_input() 757 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || in hostap_input() [all …]
|
| /dflybsd-src/contrib/tcpdump/ |
| H A D | print-lldp.c | 660 u_int subtype; in lldp_private_8021_print() local 668 subtype = GET_U_1(tptr + 3); in lldp_private_8021_print() 671 tok2str(lldp_8021_subtype_values, "unknown", subtype), in lldp_private_8021_print() 672 subtype); in lldp_private_8021_print() 674 switch (subtype) { in lldp_private_8021_print() 874 u_int subtype; in lldp_private_8023_print() local 879 subtype = GET_U_1(tptr + 3); in lldp_private_8023_print() 882 tok2str(lldp_8023_subtype_values, "unknown", subtype), in lldp_private_8023_print() 883 subtype); in lldp_private_8023_print() 885 switch (subtype) { in lldp_private_8023_print() [all …]
|
| H A D | print-eap.c | 154 u_int type, subtype, len; in eap_print() local 172 subtype = GET_U_1(cp + 4); in eap_print() 174 tok2str(eap_type_values, "unknown", subtype), in eap_print() 175 subtype); in eap_print() 177 switch (subtype) { in eap_print() 210 if (subtype == EAP_TYPE_TTLS) in eap_print()
|
| H A D | print-mptcp.c | 471 u_int subtype; in mptcp_print() local 478 subtype = MPTCP_OPT_SUBTYPE(opt->sub_etc); /* uses GET_U_1() */ in mptcp_print() 479 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()
|
| H A D | print-slow.c | 250 u_int subtype; in slow_print() local 255 subtype = GET_U_1(pptr); in slow_print() 260 switch (subtype) { in slow_print() 295 tok2str(slow_proto_values, "unknown (%u)", subtype), in slow_print() 301 tok2str(slow_proto_values, "unknown (%u)", subtype), in slow_print() 314 switch (subtype) { in slow_print() 330 slow_marker_lacp_print(ndo, pptr, len, subtype); in slow_print()
|
| /dflybsd-src/bin/sh/ |
| H A D | expand.c | 550 int subtype, int startloc) in subevalvar_trim() argument 563 switch (subtype) { in subevalvar_trim() 624 const char *var, int subtype, int startloc, int varflags) in subevalvar_misc() argument 634 switch (subtype) { in subevalvar_misc() 664 int subtype; in evalvar() local 678 subtype = varflags & VSTYPE; in evalvar() 702 switch (subtype) { in evalvar() 713 if (set && subtype != VSPLUS) { in evalvar() 721 strtodest(buf, flag, subtype, in evalvar() 724 varvalue(var, varflags & VSQUOTE, subtype, flag, in evalvar() [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 | 1621 int subtype; in readtoken1() local 1646 subtype = VSNORMAL; in readtoken1() 1650 subtype = 0; in readtoken1() 1676 if (subtype != VSNORMAL) { in readtoken1() 1688 if (subtype == 0 && c1 == '#') { in readtoken1() 1689 subtype = VSLENGTH; in readtoken1() 1703 subtype = 0; in readtoken1() 1707 subtype = VSERROR; in readtoken1() 1715 if (subtype == 0) { in readtoken1() 1730 subtype = VSERROR; in readtoken1() [all …]
|
| /dflybsd-src/usr.sbin/pfctl/ |
| H A D | pfctl_osfp.c | 99 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 …]
|
| /dflybsd-src/contrib/wpa_supplicant/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() 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 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() 401 if (subtype != EAP_SIM_SUBTYPE_REAUTHENTICATION) { 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() [all …]
|
| H A D | eap_server_aka.c | 685 static Boolean eap_aka_subtype_ok(struct eap_aka_data *data, u8 subtype) in eap_aka_subtype_ok() argument 687 if (subtype == EAP_AKA_SUBTYPE_CLIENT_ERROR || in eap_aka_subtype_ok() 688 subtype == EAP_AKA_SUBTYPE_AUTHENTICATION_REJECT) 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() 701 subtype != EAP_AKA_SUBTYPE_SYNCHRONIZATION_FAILURE) { in eap_aka_subtype_ok() 703 "subtype %d", subtype); in eap_aka_subtype_ok() 708 if (subtype != EAP_AKA_SUBTYPE_REAUTHENTICATION) { in eap_aka_subtype_ok() 710 "subtype %d", subtype); in eap_aka_subtype_ok() [all …]
|
| /dflybsd-src/contrib/gcc-8.0/gcc/ |
| H A D | optabs-tree.c | 36 enum optab_subtype subtype) in optab_for_tree_code() argument 75 if (subtype == optab_vector) in optab_for_tree_code() 78 gcc_assert (subtype == optab_scalar); in optab_for_tree_code() 87 if (subtype == optab_vector) in optab_for_tree_code() 90 gcc_assert (subtype == optab_scalar); in optab_for_tree_code() 97 if (subtype == optab_vector) in optab_for_tree_code() 100 gcc_assert (subtype == optab_scalar); in optab_for_tree_code() 107 if (subtype == optab_vector) in optab_for_tree_code() 110 gcc_assert (subtype == optab_scalar); in optab_for_tree_code()
|
| /dflybsd-src/sys/vfs/fuse/ |
| H A D | fuse_vfsops.c | 107 char subtype[512]; in fuse_mount() local 129 memset(subtype, 0, sizeof(subtype)); in fuse_mount() 130 if (args.subtype != NULL) { in fuse_mount() 131 error = copyinstr(args.subtype, subtype, sizeof(subtype), NULL); in fuse_mount() 134 if (strlen(subtype)) { in fuse_mount() 136 strlcat(sbp->f_fstypename, subtype, sizeof(sbp->f_fstypename)); in fuse_mount()
|
| /dflybsd-src/contrib/binutils-2.27/gas/ |
| H A D | frags.c | 223 relax_substateT subtype, symbolS *symbol, offsetT offset, in frag_var_init() argument 228 frag_now->fr_subtype = subtype; in frag_var_init() 254 relax_substateT subtype, symbolS *symbol, offsetT offset, in frag_var() argument 262 frag_var_init (type, max_chars, var, subtype, symbol, offset, opcode); in frag_var() 272 relax_substateT subtype, symbolS *symbol, offsetT offset, in frag_variant() argument 278 frag_var_init (type, max_chars, var, subtype, symbol, offset, opcode); in frag_variant()
|
| /dflybsd-src/sys/netproto/802_11/ |
| H A D | ieee80211_input.h | 65 ieee80211_mgt_subtype_name(subtype), \ 164 uint8_t type, subtype; in ieee80211_check_rxseq() local 170 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in ieee80211_check_rxseq() 176 if (! IEEE80211_HAS_SEQ(type, subtype)) in ieee80211_check_rxseq() 259 const uint8_t mac[IEEE80211_ADDR_LEN], int subtype, int arg);
|
| /dflybsd-src/contrib/wpa_supplicant/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()
|
| /dflybsd-src/contrib/binutils-2.34/gas/ |
| H A D | frags.c | 228 relax_substateT subtype, symbolS *symbol, offsetT offset, in frag_var_init() argument 233 frag_now->fr_subtype = subtype; in frag_var_init() 259 relax_substateT subtype, symbolS *symbol, offsetT offset, in frag_var() argument 267 frag_var_init (type, max_chars, var, subtype, symbol, offset, opcode); in frag_var() 277 relax_substateT subtype, symbolS *symbol, offsetT offset, in frag_variant() argument 283 frag_var_init (type, max_chars, var, subtype, symbol, offset, opcode); in frag_variant()
|
| /dflybsd-src/contrib/ldns/ |
| H A D | 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 …]
|
| /dflybsd-src/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()
|
| /dflybsd-src/contrib/gcc-4.7/gcc/ |
| H A D | c-convert.c | 142 tree subtype = TREE_TYPE (type); in convert() local 151 convert (subtype, in convert() 154 convert (subtype, in convert()
|
| /dflybsd-src/contrib/libpcap/ |
| H A D | grammar.y | 389 %type <i> action reason type subtype type_subtype dir 613 p80211: TYPE type SUBTYPE subtype 643 subtype: NUM { if (($1 & (~IEEE80211_FC0_SUBTYPE_MASK)) != 0) { 698 int subtype; variable 700 subtype = str2tok($2, llc_s_subtypes); 701 if (subtype != -1) { 702 CHECK_PTR_VAL(($$ = gen_llc_s_subtype(cstate, subtype))); 704 subtype = str2tok($2, llc_u_subtypes); 705 if (subtype == -1) { 709 CHECK_PTR_VAL(($$ = gen_llc_u_subtype(cstate, subtype)));
|