/netbsd/external/bsd/wpa/dist/src/eap_common/ |
H A D | eap_tlv_common.h | 43 be16 tlv_type; member 48 be16 tlv_type; member 55 be16 tlv_type; member 62 be16 tlv_type; member 70 be16 tlv_type; member 81 be16 tlv_type; member 90 be16 tlv_type; member 97 be16 tlv_type; /* PAC_TYPE_PAC_TYPE */ member
|
H A D | eap_common.c | 215 u8 tlv_type, tlv_len; in erp_parse_tlvs() local 217 tlv_type = *pos++; in erp_parse_tlvs() 218 switch (tlv_type) { in erp_parse_tlvs() 246 if (tlv_type == EAP_ERP_TLV_KEYNAME_NAI) { in erp_parse_tlvs() 256 } else if (tlv_type == EAP_ERP_TLV_DOMAIN_NAME) { in erp_parse_tlvs() 263 if (tlv_type >= 128 && tlv_type <= 191) { in erp_parse_tlvs() 280 tlv_type); in erp_parse_tlvs()
|
H A D | eap_teap_common.h | 50 be16 tlv_type; member 56 be16 tlv_type; member 63 be16 tlv_type; member 71 be16 tlv_type; /* TLV Type[14b] and M/R flags */ member 83 be16 tlv_type; member 97 be16 tlv_type; member 211 int tlv_type, u8 *pos, size_t len);
|
H A D | eap_teap_common.c | 24 hdr.tlv_type = host_to_be16(type); in eap_teap_put_tlv_hdr() 418 int tlv_type, u8 *pos, size_t len) in eap_teap_parse_tlv() argument 420 switch (tlv_type) { in eap_teap_parse_tlv() 638 result->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_tlv_result()
|
H A D | eap_fast_common.c | 149 int tlv_type, u8 *pos, size_t len) in eap_fast_parse_tlv() argument 151 switch (tlv_type) { in eap_fast_parse_tlv()
|
H A D | eap_fast_common.h | 105 int tlv_type, u8 *pos, size_t len);
|
/netbsd/external/bsd/ppp/dist/pppd/plugins/pppol2tp/ |
H A D | openl2tp.c | 132 tlv->tlv_type = OPENL2TP_TLV_TYPE_TUNNEL_ID; in openl2tp_send_accm_ind() 138 tlv->tlv_type = OPENL2TP_TLV_TYPE_SESSION_ID; in openl2tp_send_accm_ind() 144 tlv->tlv_type = OPENL2TP_TLV_TYPE_PPP_ACCM; in openl2tp_send_accm_ind() 196 tlv->tlv_type = OPENL2TP_TLV_TYPE_TUNNEL_ID; in openl2tp_ppp_updown_ind() 202 tlv->tlv_type = OPENL2TP_TLV_TYPE_SESSION_ID; in openl2tp_ppp_updown_ind() 208 tlv->tlv_type = OPENL2TP_TLV_TYPE_PPP_STATE; in openl2tp_ppp_updown_ind() 214 tlv->tlv_type = OPENL2TP_TLV_TYPE_PPP_UNIT; in openl2tp_ppp_updown_ind() 220 tlv->tlv_type = OPENL2TP_TLV_TYPE_PPP_IFNAME; in openl2tp_ppp_updown_ind() 227 tlv->tlv_type = OPENL2TP_TLV_TYPE_PPP_USER_NAME; in openl2tp_ppp_updown_ind()
|
H A D | l2tp_event.h | 69 uint16_t tlv_type; member
|
/netbsd/external/bsd/tcpdump/dist/ |
H A D | print-ospf.c | 192 u_int tlv_type, tlv_length; in ospf_print_grace_lsa() local 201 tlv_type = EXTRACT_16BITS(tptr); in ospf_print_grace_lsa() 208 tlv_type, in ospf_print_grace_lsa() 218 if (tlv_type == 0 || tlv_length ==0) { in ospf_print_grace_lsa() 223 switch(tlv_type) { in ospf_print_grace_lsa() 288 tlv_type = EXTRACT_16BITS(tptr); in ospf_print_te_lsa() 295 tlv_type, in ospf_print_te_lsa() 305 if (tlv_type == 0 || tlv_length ==0) { in ospf_print_te_lsa() 309 switch(tlv_type) { in ospf_print_te_lsa() 824 tlv_type, in ospf_print_lsa() [all …]
|
H A D | print-nsh.c | 66 uint8_t tlv_type; in nsh_print() local 135 tlv_type = *bp; in nsh_print() 141 tlv_class, tlv_type, tlv_len)); in nsh_print()
|
H A D | print-ldp.c | 253 u_short tlv_type,tlv_len,tlv_tlen,af,ft_flags; in ldp_tlv_print() local 267 tlv_type=LDP_MASK_TLV_TYPE(EXTRACT_16BITS(ldp_tlv_header->type)); in ldp_tlv_print() 273 tlv_type), in ldp_tlv_print() 274 tlv_type, in ldp_tlv_print() 281 switch(tlv_type) { in ldp_tlv_print()
|
H A D | print-lldp.c | 1161 u_int tlen, tlv_type, tlv_len; in lldp_private_dcbx_print() local 1186 tlv_type = LLDP_EXTRACT_TYPE(tlv); in lldp_private_dcbx_print() 1194 if (!tlv_type || !tlv_len) { in lldp_private_dcbx_print() 1204 switch (tlv_type) { in lldp_private_dcbx_print() 1430 u_int oui, tlen, hexdump, tlv_type, tlv_len; in lldp_print() local 1445 tlv_type = LLDP_EXTRACT_TYPE(tlv); in lldp_print() 1454 tok2str(lldp_tlv_values, "Unknown", tlv_type), in lldp_print() 1455 tlv_type, tlv_len)); in lldp_print() 1459 if (!tlv_type || !tlv_len) { in lldp_print() 1468 switch (tlv_type) { in lldp_print()
|
H A D | print-juniper.c | 1132 juniper_read_tlv_value(const u_char *p, u_int tlv_type, u_int tlv_len) in juniper_read_tlv_value() argument 1137 if (tlv_type < 128) { in juniper_read_tlv_value() 1184 uint8_t tlv_type,tlv_len; in juniper_parse_header() local 1237 tlv_type = *(tptr++); in juniper_parse_header() 1242 if (tlv_type == 0 || tlv_len == 0) in juniper_parse_header() 1249 tok2str(jnx_ext_tlv_values,"Unknown",tlv_type), in juniper_parse_header() 1250 tlv_type, in juniper_parse_header() 1253 tlv_value = juniper_read_tlv_value(tptr, tlv_type, tlv_len); in juniper_parse_header() 1254 switch (tlv_type) { in juniper_parse_header()
|
H A D | print-babel.c | 275 const u_char *cp, const u_char *ep, const uint8_t tlv_type) in subtlvs_print() argument 309 if(tlv_type != MESSAGE_UPDATE && in subtlvs_print() 310 tlv_type != MESSAGE_UPDATE_SRC_SPECIFIC) in subtlvs_print() 315 if(tlv_type == MESSAGE_HELLO) { in subtlvs_print() 320 } else if(tlv_type == MESSAGE_IHU) { in subtlvs_print()
|
/netbsd/external/bsd/wpa/dist/src/eap_server/ |
H A D | eap_server_peap.c | 421 u16 tlv_type; in eap_peap_build_phase2_tlv() local 678 tlv_type = pos[0] & 0x3f; in eap_peap_process_phase2_tlv() 679 tlv_type = (tlv_type << 8) | pos[1]; in eap_peap_process_phase2_tlv() 690 switch (tlv_type) { in eap_peap_process_phase2_tlv() 701 "%d%s", tlv_type, in eap_peap_process_phase2_tlv() 801 tlv_type = pos[0] & 0x3f; in eap_peap_process_phase2_soh() 802 tlv_type = (tlv_type << 8) | pos[1]; in eap_peap_process_phase2_soh() 813 switch (tlv_type) { in eap_peap_process_phase2_soh() 835 tlv_type = (tlv_type << 8) | vpos[1]; in eap_peap_process_phase2_soh() 845 if (tlv_type == 1) { in eap_peap_process_phase2_soh() [all …]
|
H A D | eap_server_fast.c | 618 result->tlv_type = host_to_be16( in eap_fast_build_crypto_binding() 630 result->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_build_crypto_binding() 638 binding->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_build_crypto_binding() 763 WPA_PUT_BE16((u8 *) &result->tlv_type, in eap_fast_build_pac() 771 pac_tlv->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_build_pac() 1134 int mandatory, tlv_type, res; in eap_fast_parse_tlvs() local 1144 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_fast_parse_tlvs() 1154 tlv_type, (unsigned int) len, in eap_fast_parse_tlvs() 1157 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len); in eap_fast_parse_tlvs() 1163 "mandatory TLV type %d", tlv_type); in eap_fast_parse_tlvs() [all …]
|
H A D | eap_server_teap.c | 576 result->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding() 587 result->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding() 595 cb->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding() 735 WPA_PUT_BE16((u8 *) &result->tlv_type, in eap_teap_build_pac() 743 pac_tlv->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | TEAP_TLV_PAC); in eap_teap_build_pac() 1208 u16 tlv_type; in eap_teap_parse_tlvs() local 1219 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_teap_parse_tlvs() 1229 tlv_type, eap_teap_tlv_type_str(tlv_type), in eap_teap_parse_tlvs() 1233 res = eap_teap_parse_tlv(tlv, tlv_type, pos, len); in eap_teap_parse_tlvs() 1240 tlv_type); in eap_teap_parse_tlvs() [all …]
|
/netbsd/external/bsd/wpa/dist/src/eap_peer/ |
H A D | eap_teap.c | 468 vendor_id, tlv_type); in eap_teap_tlv_nak() 1099 u16 tlv_type; in eap_teap_parse_decrypted() local 1121 tlv_type, eap_teap_tlv_type_str(tlv_type), in eap_teap_parse_decrypted() 1132 tlv_type); in eap_teap_parse_decrypted() 1139 tlv_type); in eap_teap_parse_decrypted() 1577 u16 tlv_type, tlv_len; in eap_teap_process_start() local 1584 tlv_type = WPA_GET_BE16(outer_pos); in eap_teap_process_start() 1590 tlv_type &= TEAP_TLV_TYPE_MASK; in eap_teap_process_start() 1593 tlv_type, tlv_len); in eap_teap_process_start() 1597 tlv_type); in eap_teap_process_start() [all …]
|
H A D | eap_fast.c | 509 nak->nak_type = host_to_be16(tlv_type); in eap_fast_tlv_nak() 546 ack->tlv_type = host_to_be16(EAP_TLV_PAC_TLV | in eap_fast_tlv_pac_ack() 741 pac->tlv_type = host_to_be16(EAP_TLV_PAC_TLV); in eap_fast_write_pac_request() 745 type->tlv_type = host_to_be16(PAC_TYPE_PAC_TYPE); in eap_fast_write_pac_request() 1090 int mandatory, tlv_type, res; in eap_fast_parse_decrypted() local 1101 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_fast_parse_decrypted() 1111 tlv_type, (unsigned int) len, in eap_fast_parse_decrypted() 1114 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len); in eap_fast_parse_decrypted() 1120 "mandatory TLV type %d", tlv_type); in eap_fast_parse_decrypted() 1121 *resp = eap_fast_tlv_nak(0, tlv_type); in eap_fast_parse_decrypted() [all …]
|
H A D | eap_peap.c | 322 u16 tlv_type; in eap_tlv_add_cryptobinding() local 330 tlv_type = EAP_TLV_CRYPTO_BINDING_TLV; in eap_tlv_add_cryptobinding() 331 wpabuf_put_be16(buf, tlv_type); in eap_tlv_add_cryptobinding() 480 int tlv_type, mandatory; in eap_tlv_process() local 489 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_tlv_process() 501 switch (tlv_type) { in eap_tlv_process() 512 "%d%s", tlv_type, in eap_tlv_process() 518 tlv_type); in eap_tlv_process()
|
/netbsd/sys/net/agr/ |
H A D | ieee8023_tlv.h | 37 uint8_t tlv_type; member 48 (tlv)->tlv_type = (type); \
|
H A D | ieee8023ad_marker.c | 96 switch (mdu->mdu_tlv.tlv_type) { in ieee8023ad_marker_input() 102 mdu->mdu_tlv.tlv_type = MARKER_TYPE_RESPONSE; in ieee8023ad_marker_input()
|
H A D | ieee8023_tlv.c | 46 if ((check_type && tlv->tlv_type != tmpl->tmpl_type) || in tlv_check()
|
/netbsd/sys/net/lagg/ |
H A D | if_lagg_lacp.h | 65 uint8_t tlv_type; member 79 th->tlv_type = t; in tlv_set()
|
/netbsd/external/bsd/libpcap/dist/pcap/ |
H A D | nflog.h | 54 uint16_t tlv_type; /* tlv type */ member
|