| /freebsd-10-stable/contrib/tcpdump/ |
| D | print-lldp.c | 582 int subtype, hexdump = FALSE; in lldp_private_8021_print() local 588 subtype = *(tptr+3); in lldp_private_8021_print() 591 tok2str(lldp_8021_subtype_values, "unknown", subtype), in lldp_private_8021_print() 592 subtype); in lldp_private_8021_print() 594 switch (subtype) { in lldp_private_8021_print() 653 int subtype, hexdump = FALSE; in lldp_private_8023_print() local 658 subtype = *(tptr+3); in lldp_private_8023_print() 661 tok2str(lldp_8023_subtype_values, "unknown", subtype), in lldp_private_8023_print() 662 subtype); in lldp_private_8023_print() 664 switch (subtype) { in lldp_private_8023_print() [all …]
|
| D | print-eap.c | 168 u_int tlen, type, subtype; in eap_print() local 209 subtype = *(tptr+4); in eap_print() 214 switch (subtype) { in eap_print()
|
| /freebsd-10-stable/sys/net80211/ |
| D | ieee80211_adhoc.c | 74 int subtype, int, int); 76 int subtype, int, int); 77 static void adhoc_recv_ctl(struct ieee80211_node *, struct mbuf *, int subtype); 267 doprint(struct ieee80211vap *vap, int subtype) in doprint() argument 269 switch (subtype) { in doprint() 299 uint8_t dir, type, subtype, qos; in adhoc_input() local 315 subtype = IEEE80211_FC0_SUBTYPE_QOS; in adhoc_input() 351 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in adhoc_input() 504 if (subtype == IEEE80211_FC0_SUBTYPE_QOS) { in adhoc_input() 546 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || in adhoc_input() [all …]
|
| D | ieee80211_sta.c | 75 int subtype, int rssi, int nf); 76 static void sta_recv_ctl(struct ieee80211_node *, struct mbuf *, int subtype); 496 doprint(struct ieee80211vap *vap, int subtype) in doprint() argument 498 switch (subtype) { in doprint() 528 uint8_t dir, type, subtype, qos; in sta_input() local 544 subtype = IEEE80211_FC0_SUBTYPE_QOS; in sta_input() 580 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in sta_input() 758 if (subtype == IEEE80211_FC0_SUBTYPE_QOS) { in sta_input() 800 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || in sta_input() 801 subtype == IEEE80211_FC0_SUBTYPE_QOS_NULL) in sta_input() [all …]
|
| D | ieee80211_wds.c | 68 int subtype, int, int); 420 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() 590 if (subtype == IEEE80211_FC0_SUBTYPE_QOS) { in wds_input() 632 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || in wds_input() 633 subtype == IEEE80211_FC0_SUBTYPE_QOS_NULL) in wds_input() 710 ieee80211_mgt_subtype_name[subtype >> in wds_input() 721 vap->iv_recv_mgmt(ni, m, subtype, rssi, nf); in wds_input() 748 int subtype, int rssi, int nf) in wds_recv_mgmt() argument [all …]
|
| D | ieee80211_hostap.c | 74 int subtype, int rssi, int nf); 456 doprint(struct ieee80211vap *vap, int subtype) in doprint() argument 458 switch (subtype) { in doprint() 488 uint8_t dir, type, subtype, qos; in hostap_input() local 504 subtype = IEEE80211_FC0_SUBTYPE_QOS; in hostap_input() 540 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in hostap_input() 561 subtype == IEEE80211_FC0_SUBTYPE_BEACON) && in hostap_input() 723 if (subtype == IEEE80211_FC0_SUBTYPE_QOS) { in hostap_input() 763 if (subtype == IEEE80211_FC0_SUBTYPE_NODATA || in hostap_input() 764 subtype == IEEE80211_FC0_SUBTYPE_QOS_NULL) in hostap_input() [all …]
|
| /freebsd-10-stable/sys/arm/at91/ |
| D | at91_machdep.c | 317 soc_info.subtype = AT91_ST_NONE; in at91_try_id() 335 soc_info.subtype = AT91_ST_SAM9XE; in at91_try_id() 369 soc_info.subtype = AT91_ST_SAM9G45; in at91_try_id() 372 soc_info.subtype = AT91_ST_SAM9G46; in at91_try_id() 375 soc_info.subtype = AT91_ST_SAM9M10; in at91_try_id() 378 soc_info.subtype = AT91_ST_SAM9M11; in at91_try_id() 385 soc_info.subtype = AT91_ST_SAM9G15; in at91_try_id() 388 soc_info.subtype = AT91_ST_SAM9G25; in at91_try_id() 391 soc_info.subtype = AT91_ST_SAM9G35; in at91_try_id() 394 soc_info.subtype = AT91_ST_SAM9X25; in at91_try_id() [all …]
|
| D | at91soc.c | 38 at91_match_soc(enum at91_soc_type type, enum at91_soc_subtype subtype) in at91_match_soc() argument 46 (*socp)->soc_subtype != subtype) in at91_match_soc()
|
| D | at91soc.h | 48 #define AT91_SOC_SUB(type, subtype, data) \ argument 51 .soc_subtype = subtype, \
|
| /freebsd-10-stable/sbin/pfctl/ |
| 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 …]
|
| /freebsd-10-stable/contrib/wpa/src/eap_server/ |
| D | eap_server_sake.c | 99 u8 id, size_t length, u8 subtype) in eap_sake_build_msg() argument 118 sake->subtype = subtype; in eap_sake_build_msg() 256 u8 version, session_id, subtype; in eap_sake_check() local 268 subtype = resp->subtype; in eap_sake_check() 281 wpa_printf(MSG_DEBUG, "EAP-SAKE: Received frame: subtype=%d", subtype); in eap_sake_check() 283 if (data->state == IDENTITY && subtype == EAP_SAKE_SUBTYPE_IDENTITY) in eap_sake_check() 286 if (data->state == CHALLENGE && subtype == EAP_SAKE_SUBTYPE_CHALLENGE) in eap_sake_check() 289 if (data->state == CONFIRM && subtype == EAP_SAKE_SUBTYPE_CONFIRM) in eap_sake_check() 292 if (subtype == EAP_SAKE_SUBTYPE_AUTH_REJECT) in eap_sake_check() 296 subtype, data->state); in eap_sake_check() [all …]
|
| D | eap_server_sim.c | 363 u8 subtype) in eap_sim_unexpected_subtype() argument 365 if (subtype == EAP_SIM_SUBTYPE_CLIENT_ERROR) in eap_sim_unexpected_subtype() 370 if (subtype != EAP_SIM_SUBTYPE_START) { in eap_sim_unexpected_subtype() 372 "subtype %d", subtype); in eap_sim_unexpected_subtype() 377 if (subtype != EAP_SIM_SUBTYPE_CHALLENGE) { in eap_sim_unexpected_subtype() 379 "subtype %d", subtype); in eap_sim_unexpected_subtype() 384 if (subtype != EAP_SIM_SUBTYPE_REAUTHENTICATION) { in eap_sim_unexpected_subtype() 386 "subtype %d", subtype); in eap_sim_unexpected_subtype() 391 if (subtype != EAP_SIM_SUBTYPE_NOTIFICATION) { in eap_sim_unexpected_subtype() 393 "subtype %d", subtype); in eap_sim_unexpected_subtype() [all …]
|
| D | eap_server_aka.c | 668 static Boolean eap_aka_subtype_ok(struct eap_aka_data *data, u8 subtype) in eap_aka_subtype_ok() argument 670 if (subtype == EAP_AKA_SUBTYPE_CLIENT_ERROR || in eap_aka_subtype_ok() 671 subtype == EAP_AKA_SUBTYPE_AUTHENTICATION_REJECT) in eap_aka_subtype_ok() 676 if (subtype != EAP_AKA_SUBTYPE_IDENTITY) { in eap_aka_subtype_ok() 678 "subtype %d", subtype); in eap_aka_subtype_ok() 683 if (subtype != EAP_AKA_SUBTYPE_CHALLENGE && in eap_aka_subtype_ok() 684 subtype != EAP_AKA_SUBTYPE_SYNCHRONIZATION_FAILURE) { in eap_aka_subtype_ok() 686 "subtype %d", subtype); in eap_aka_subtype_ok() 691 if (subtype != EAP_AKA_SUBTYPE_REAUTHENTICATION) { in eap_aka_subtype_ok() 693 "subtype %d", subtype); in eap_aka_subtype_ok() [all …]
|
| /freebsd-10-stable/crypto/heimdal/lib/asn1/ |
| 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()
|
| 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-10-stable/bin/sh/ |
| D | expand.c | 511 subevalvar(char *p, char *str, int strloc, int subtype, int startloc, in subevalvar() argument 521 argstr(p, (subtype == VSTRIMLEFT || subtype == VSTRIMLEFTMAX || in subevalvar() 522 subtype == VSTRIMRIGHT || subtype == VSTRIMRIGHTMAX ? in subevalvar() 530 switch (subtype) { in subevalvar() 629 int subtype; in evalvar() local 645 subtype = varflags & VSTYPE; in evalvar() 670 switch (subtype) { in evalvar() 681 if (set && subtype != VSPLUS) { in evalvar() 687 varvalue(var, varflags & VSQUOTE, subtype, flag); in evalvar() 688 if (subtype == VSLENGTH) { in evalvar() [all …]
|
| D | show.c | 177 int subtype; in sharg() local 193 subtype = *++p; in sharg() 194 if (subtype == VSLENGTH) in sharg() 200 if (subtype & VSNUL) in sharg() 203 switch (subtype & VSTYPE) { in sharg() 236 printf("<subtype %d>", subtype); in sharg()
|
| D | parser.c | 1617 int subtype; in readtoken1() local 1643 subtype = VSNORMAL; in readtoken1() 1648 subtype = 0; in readtoken1() 1683 if (subtype == 0 && c1 == '#') { in readtoken1() 1684 subtype = VSLENGTH; in readtoken1() 1698 subtype = 0; in readtoken1() 1702 subtype = VSERROR; in readtoken1() 1710 if (subtype == 0) { in readtoken1() 1725 subtype = VSERROR; in readtoken1() 1727 subtype = p - types + VSNORMAL; in readtoken1() [all …]
|
| /freebsd-10-stable/contrib/wpa/src/eap_peer/ |
| D | eap_sake.c | 116 int id, size_t length, u8 subtype) in eap_sake_build_msg() argument 135 sake->subtype = subtype; in eap_sake_build_msg() 370 u8 subtype, session_id; in eap_sake_process() local 380 subtype = req->subtype; in eap_sake_process() 385 "session_id %d", subtype, session_id); in eap_sake_process() 403 switch (subtype) { in eap_sake_process() 418 "unknown subtype %d", subtype); in eap_sake_process()
|
| /freebsd-10-stable/contrib/wpa/wpa_supplicant/ |
| D | hs20_supplicant.c | 113 u8 subtype; in hs20_parse_rx_hs20_anqp_resp() local 123 subtype = *pos++; in hs20_parse_rx_hs20_anqp_resp() 129 switch (subtype) { in hs20_parse_rx_hs20_anqp_resp() 182 wpa_printf(MSG_DEBUG, "HS20: Unsupported subtype %u", subtype); in hs20_parse_rx_hs20_anqp_resp()
|
| /freebsd-10-stable/tools/tools/net80211/wlaninject/ |
| 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-10-stable/contrib/ldns/ |
| D | dnssec.c | 690 uint8_t subtype; /* least significant octet of type */ in ldns_dnssec_create_nsec_bitmap() local 713 subtype = *d & 0xff; in ldns_dnssec_create_nsec_bitmap() 714 if (windows[window] < subtype) { in ldns_dnssec_create_nsec_bitmap() 715 windows[window] = subtype; in ldns_dnssec_create_nsec_bitmap() 752 subtype = *d & 0xff; in ldns_dnssec_create_nsec_bitmap() 753 data[windows[*d >> 8] + subtype/8] |= (0x80 >> (subtype % 8)); in ldns_dnssec_create_nsec_bitmap() 1368 uint8_t subtype = type & 0xff; in ldns_nsec_bitmap_covers_type() local 1383 if (dptr[0] == window && subtype / 8 < dptr[1] && in ldns_nsec_bitmap_covers_type() 1386 return dptr[2 + subtype / 8] & (0x80 >> (subtype % 8)); in ldns_nsec_bitmap_covers_type() 1405 uint8_t subtype = type & 0xff; in ldns_nsec_bitmap_set_type() local [all …]
|
| /freebsd-10-stable/sbin/ipfw/ |
| D | dummynet.c | 135 oid->subtype = 0; in oid_fill() 225 get_extra_parms(uint32_t nr, char *out, int subtype) in get_extra_parms() argument 240 ep->oid.subtype = subtype; in get_extra_parms() 249 switch (subtype) { in get_extra_parms() 662 cmd.oid.subtype = (do_pipe == 1) ? DN_LINK : in ipfw_delete_pipe() 1323 sch_extra ->oid.subtype = 0; /* don't configure scheduler */ in ipfw_config_pipe() 1329 aqm_extra ->oid.subtype = 0; /* don't configure AQM */ in ipfw_config_pipe() 1334 sch->oid.subtype = 0; /* defaults to WF2Q+ */ in ipfw_config_pipe() 1350 aqm_extra ->oid.subtype = 0; in ipfw_config_pipe() 1362 sch_extra ->oid.subtype = 0; in ipfw_config_pipe() [all …]
|
| /freebsd-10-stable/contrib/unbound/validator/ |
| D | validator.c | 1318 enum val_classification subtype = val_classify_response( in processInit() local 1326 val_classification_to_string(subtype)); in processInit() 1327 if(subtype == VAL_CLASS_REFERRAL && in processInit() 1363 val_find_signer(subtype, &vq->qchase, vq->orig_msg->rep, in processInit() 1381 if(subtype == VAL_CLASS_NAMEERROR && vq->signer_name && in processInit() 1394 } else if(subtype == VAL_CLASS_POSITIVE && in processInit() 1402 if(vq->rrset_skip > 0 || subtype == VAL_CLASS_CNAME || in processInit() 1403 subtype == VAL_CLASS_REFERRAL) { in processInit() 1655 enum val_classification subtype; in processValidate() local 1700 subtype = val_classify_response(qstate->query_flags, &qstate->qinfo, in processValidate() [all …]
|
| /freebsd-10-stable/contrib/sendmail/src/ |
| D | mime.c | 116 char *subtype; local 167 type = subtype = NULL; 190 subtype = *pvp++; 228 if (subtype == NULL) 229 subtype = "-none-"; 242 (void) sm_snprintf(buf, sizeof(buf), "%.100s/%.100s", type, subtype); 265 if (sm_strcasecmp(subtype, "digest") == 0) 398 if (!wordinclass(subtype, 's') || 494 subtype == NULL ? "[none]" : subtype);
|