/dragonfly/sys/netproto/802_11/wlan/ |
H A D | ieee80211_adhoc.c | 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() 414 if (IEEE80211_HAS_SEQ(type, subtype) && in adhoc_input() 616 ieee80211_mgt_subtype_name(subtype), in adhoc_input() 632 vap->iv_recv_ctl(ni, m, subtype); in adhoc_input() 686 switch (subtype) { in adhoc_recv_mgmt() 727 subtype, rssi, nf); in adhoc_recv_mgmt() 918 switch (subtype) { in ahdemo_recv_mgmt() [all …]
|
H A D | ieee80211_sta.c | 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() 641 if ( IEEE80211_HAS_SEQ(type, subtype) && in sta_input() 929 vap->iv_recv_ctl(ni, m, subtype); in sta_input() 1307 switch (subtype) { in sta_recv_mgmt() 1500 &scan, wh, subtype, rssi, nf); in sta_recv_mgmt() 1545 subtype, rssi, nf); in sta_recv_mgmt() 1680 ISREASSOC(subtype) ? "re" : ""); in sta_recv_mgmt() 1752 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 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() 743 switch (subtype) { in wds_recv_mgmt() [all …]
|
H A D | ieee80211_hostap.c | 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() 583 if (IEEE80211_HAS_SEQ(type, subtype)) { in hostap_input() 717 if (subtype == IEEE80211_FC0_SUBTYPE_QOS) { in hostap_input() 847 ieee80211_mgt_subtype_name(subtype), in hostap_input() 895 vap->iv_recv_ctl(ni, m, subtype); in hostap_input() 1690 switch (subtype) { in hostap_recv_mgmt() 1735 subtype, rssi, nf); in hostap_recv_mgmt() 2199 ieee80211_mgt_subtype_name(subtype), in hostap_recv_mgmt() [all …]
|
/dragonfly/contrib/tcpdump/ |
H A D | print-lldp.c | 660 u_int subtype; in lldp_private_8021_print() local 672 subtype); in lldp_private_8021_print() 874 u_int subtype; in lldp_private_8023_print() local 883 subtype); in lldp_private_8023_print() 959 u_int subtype; in lldp_private_iana_print() local 968 subtype); in lldp_private_iana_print() 992 u_int subtype; in lldp_private_tia_print() local 1005 subtype); in lldp_private_tia_print() 1177 u_int subtype; in lldp_private_dcbx_print() local 1192 subtype); in lldp_private_dcbx_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()
|
/dragonfly/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 | 1621 int subtype; in readtoken1() local 1646 subtype = VSNORMAL; in readtoken1() 1650 subtype = 0; in readtoken1() 1689 subtype = VSLENGTH; in readtoken1() 1703 subtype = 0; in readtoken1() 1707 subtype = VSERROR; in readtoken1() 1715 if (subtype == 0) { in readtoken1() 1742 subtype++; in readtoken1() 1750 subtype = VSERROR; in readtoken1() 1772 if (subtype == VSMINUS || subtype == VSPLUS || in readtoken1() [all …]
|
/dragonfly/usr.sbin/pfctl/ |
H A D | pfctl_osfp.c | 119 if (subtype) in pfctl_file_fingerprints() 120 free(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 353 subtype = PF_OSFP_ANY; in pfctl_get_fingerprint() 378 subtype = PF_OSFP_ANY; in pfctl_get_fingerprint() 459 int class, version, subtype; in pfctl_lookup_fingerprint() local 552 int class, version, subtype; in add_fingerprint() local 607 subtype = PF_OSFP_ANY; in add_fingerprint() [all …]
|
/dragonfly/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() 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 …]
|
/dragonfly/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()
|
/dragonfly/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()
|
/dragonfly/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()
|
/dragonfly/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);
|
/dragonfly/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()
|
/dragonfly/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()
|
/dragonfly/contrib/ldns/ |
H A D | dnssec.c | 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 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 1459 dptr[2 + subtype / 8] |= (0x80 >> (subtype % 8)); in ldns_nsec_bitmap_set_type() 1479 uint8_t subtype = type & 0xff; in ldns_nsec_bitmap_clear_type() local [all …]
|
/dragonfly/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()
|
/dragonfly/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()
|
/dragonfly/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)));
|