/external/tcpdump/ |
D | print-lldp.c | 649 const u_char *tptr, u_int tlv_len) in lldp_private_8021_print() argument 659 subtype = *(tptr+3); in lldp_private_8021_print() 671 EXTRACT_16BITS(tptr + 4))); in lldp_private_8021_print() 678 EXTRACT_16BITS(tptr+5), in lldp_private_8021_print() 679 bittok2str(lldp_8021_port_protocol_id_values, "none", *(tptr+4)), in lldp_private_8021_print() 680 *(tptr + 4))); in lldp_private_8021_print() 686 ND_PRINT((ndo, "\n\t vlan id (VID): %u", EXTRACT_16BITS(tptr + 4))); in lldp_private_8021_print() 690 sublen = *(tptr+6); in lldp_private_8021_print() 695 safeputs(ndo, tptr + 7, sublen); in lldp_private_8021_print() 701 sublen = *(tptr+4); in lldp_private_8021_print() [all …]
|
D | print-vtp.c | 123 const u_char *tptr; in vtp_print() local 129 tptr = pptr; in vtp_print() 131 ND_TCHECK2(*tptr, VTP_HEADER_LEN); in vtp_print() 133 type = *(tptr+1); in vtp_print() 135 *tptr, in vtp_print() 147 mgmtd_len = *(tptr + 3); in vtp_print() 152 fn_printzp(ndo, tptr + 4, mgmtd_len, NULL); in vtp_print() 155 *(tptr+2))); in vtp_print() 157 tptr += VTP_HEADER_LEN; in vtp_print() 183 ND_TCHECK2(*tptr, 8); in vtp_print() [all …]
|
D | print-isoclns.c | 897 const uint8_t *tptr; in clnp_print() local 913 tptr = pptr; in clnp_print() 939 tok2str(clnp_option_sr_rr_values,"Unknown",*tptr), in clnp_print() 941 nsap_offset=*(tptr+1); in clnp_print() 951 tptr+=nsap_offset; in clnp_print() 954 source_address_length=*tptr; in clnp_print() 960 source_address=(tptr+1); in clnp_print() 975 ND_PRINT((ndo, "0x%1x", *tptr&0x0f)); in clnp_print() 984 … tok2str(clnp_option_scope_values, "Reserved", *tptr&CLNP_OPTION_SCOPE_MASK))); in clnp_print() 986 if ((*tptr&CLNP_OPTION_SCOPE_MASK) == CLNP_OPTION_SCOPE_GLOBAL) in clnp_print() [all …]
|
D | print-ldp.c | 233 ND_TCHECK2(*tptr, minlen); if (tlv_tlen < minlen) goto badtlv; 237 register const u_char *tptr, in ldp_tlv_print() argument 252 ldp_tlv_header = (const struct ldp_tlv_header *)tptr; in ldp_tlv_print() 272 tptr+=sizeof(struct ldp_tlv_header); in ldp_tlv_print() 279 EXTRACT_16BITS(tptr), in ldp_tlv_print() 280 (EXTRACT_16BITS(tptr+2)&0x8000) ? "Targeted" : "Link", in ldp_tlv_print() 281 (EXTRACT_16BITS(tptr+2)&0x4000) ? ", Request for targeted Hellos" : "")); in ldp_tlv_print() 286 ND_PRINT((ndo, "\n\t IPv4 Transport Address: %s", ipaddr_string(ndo, tptr))); in ldp_tlv_print() 290 ND_PRINT((ndo, "\n\t IPv6 Transport Address: %s", ip6addr_string(ndo, tptr))); in ldp_tlv_print() 294 ND_PRINT((ndo, "\n\t Sequence Number: %u", EXTRACT_32BITS(tptr))); in ldp_tlv_print() [all …]
|
D | print-eap.c | 155 const u_char *tptr; in eap_print() local 159 tptr = cp; in eap_print() 180 tptr += sizeof(const struct eap_frame_t); in eap_print() 185 ND_TCHECK_8BITS(tptr); in eap_print() 186 type = *(tptr); in eap_print() 187 ND_TCHECK_16BITS(tptr+2); in eap_print() 188 len = EXTRACT_16BITS(tptr+2); in eap_print() 192 *(tptr+1), in eap_print() 195 ND_TCHECK2(*tptr, len); in eap_print() 198 ND_TCHECK_8BITS(tptr+4); in eap_print() [all …]
|
D | print-cdp.c | 98 const u_char *tptr; in cdp_print() local 105 tptr = pptr; /* temporary pointer */ in cdp_print() 107 ND_TCHECK2(*tptr, CDP_HEADER_LEN); in cdp_print() 108 ND_PRINT((ndo, "CDPv%u, ttl: %us", *(tptr + CDP_HEADER_VERSION_OFFSET), in cdp_print() 109 *(tptr + CDP_HEADER_TTL_OFFSET))); in cdp_print() 111 …ND_PRINT((ndo, ", checksum: 0x%04x (unverified), length %u", EXTRACT_16BITS(tptr+CDP_HEADER_CHECKS… in cdp_print() 112 tptr += CDP_HEADER_LEN; in cdp_print() 114 while (tptr < (pptr+length)) { in cdp_print() 115 ND_TCHECK2(*tptr, CDP_TLV_HEADER_LEN); /* read out Type and Length */ in cdp_print() 116 type = EXTRACT_16BITS(tptr+CDP_TLV_TYPE_OFFSET); in cdp_print() [all …]
|
D | print-mpcp.c | 135 const u_char *tptr; in mpcp_print() local 140 tptr=pptr; in mpcp_print() 143 ND_TCHECK2(*tptr, sizeof(const struct mpcp_common_header_t)); in mpcp_print() 154 tptr += sizeof(const struct mpcp_common_header_t); in mpcp_print() 161 ND_TCHECK2(*tptr, MPCP_GRANT_NUMBER_LEN); in mpcp_print() 162 grant_numbers = *tptr & MPCP_GRANT_NUMBER_MASK; in mpcp_print() 167 *tptr &~ MPCP_GRANT_NUMBER_MASK))); in mpcp_print() 168 tptr++; in mpcp_print() 171 ND_TCHECK2(*tptr, sizeof(const struct mpcp_grant_t)); in mpcp_print() 172 mpcp.grant = (const struct mpcp_grant_t *)tptr; in mpcp_print() [all …]
|
D | print-bgp.c | 1313 const u_char *tptr = pptr; in bgp_attr_get_as_size() local 1328 while (tptr < pptr + len) { in bgp_attr_get_as_size() 1329 ND_TCHECK(tptr[0]); in bgp_attr_get_as_size() 1334 if (tptr[0] < BGP_AS_SEG_TYPE_MIN || tptr[0] > BGP_AS_SEG_TYPE_MAX) { in bgp_attr_get_as_size() 1337 ND_TCHECK(tptr[1]); in bgp_attr_get_as_size() 1338 tptr += 2 + tptr[1] * 2; in bgp_attr_get_as_size() 1345 if (tptr == pptr + len) { in bgp_attr_get_as_size() 1373 const u_char *tptr; in bgp_attr_print() local 1377 tptr = pptr; in bgp_attr_print() 1385 ND_TCHECK(*tptr); in bgp_attr_print() [all …]
|
D | print-udld.c | 100 const u_char *tptr; in udld_print() local 105 tptr = pptr; in udld_print() 107 ND_TCHECK2(*tptr, UDLD_HEADER_LEN); in udld_print() 109 code = UDLD_EXTRACT_OPCODE(*tptr); in udld_print() 112 UDLD_EXTRACT_VERSION(*tptr), in udld_print() 115 bittok2str(udld_flags_values, "none", *(tptr+1)), in udld_print() 116 *(tptr+1), in udld_print() 126 ND_PRINT((ndo, "\n\tChecksum 0x%04x (unverified)", EXTRACT_16BITS(tptr+2))); in udld_print() 128 tptr += UDLD_HEADER_LEN; in udld_print() 130 while (tptr < (pptr+length)) { in udld_print() [all …]
|
D | print-cfm.c | 220 register const u_char *tptr, const u_int length) in cfm_network_addr_print() argument 235 network_addr_type = *tptr; in cfm_network_addr_print() 250 ND_PRINT((ndo, ", %s", ipaddr_string(ndo, tptr + 1))); in cfm_network_addr_print() 259 ND_PRINT((ndo, ", %s", ip6addr_string(ndo, tptr + 1))); in cfm_network_addr_print() 276 const uint8_t *tptr, *tlv_ptr; in cfm_print() local 293 tptr=pptr; in cfm_print() 323 tptr += sizeof(const struct cfm_common_header_t); in cfm_print() 336 msg_ptr.cfm_ccm = (const struct cfm_ccm_t *)tptr; in cfm_print() 466 msg_ptr.cfm_ltm = (const struct cfm_ltm_t *)tptr; in cfm_print() 489 msg_ptr.cfm_ltr = (const struct cfm_ltr_t *)tptr; in cfm_print() [all …]
|
D | print-dtp.c | 50 const u_char *tptr; in dtp_print() local 55 tptr = pptr; in dtp_print() 57 ND_TCHECK2(*tptr, DTP_HEADER_LEN); in dtp_print() 60 (*tptr), in dtp_print() 70 tptr += DTP_HEADER_LEN; in dtp_print() 72 while (tptr < (pptr+length)) { in dtp_print() 74 ND_TCHECK2(*tptr, 4); in dtp_print() 75 type = EXTRACT_16BITS(tptr); in dtp_print() 76 len = EXTRACT_16BITS(tptr+2); in dtp_print() 87 ND_TCHECK2(*tptr, len); in dtp_print() [all …]
|
D | print-rpki-rtr.c | 178 rpki_rtr_pdu_print (netdissect_options *ndo, const u_char *tptr, const u_int len, in rpki_rtr_pdu_print() argument 186 ND_TCHECK_8BITS(tptr); in rpki_rtr_pdu_print() 187 if (*tptr != 0) { in rpki_rtr_pdu_print() 194 ND_PRINT((ndo, "%sRPKI-RTRv%u (unknown)", indent_string(8), *tptr)); in rpki_rtr_pdu_print() 201 ND_TCHECK2(*tptr, sizeof(rpki_rtr_pdu)); in rpki_rtr_pdu_print() 202 pdu_header = (const rpki_rtr_pdu *)tptr; in rpki_rtr_pdu_print() 229 ND_TCHECK2(*tptr, pdu_len); in rpki_rtr_pdu_print() 266 ND_TCHECK2(*tptr, pdu_len); in rpki_rtr_pdu_print() 267 pdu = (const rpki_rtr_pdu_ipv4_prefix *)tptr; in rpki_rtr_pdu_print() 282 ND_TCHECK2(*tptr, pdu_len); in rpki_rtr_pdu_print() [all …]
|
D | print-ospf.c | 185 const uint8_t *tptr, u_int ls_length) in ospf_print_grace_lsa() argument 191 ND_TCHECK2(*tptr, 4); in ospf_print_grace_lsa() 196 tlv_type = EXTRACT_16BITS(tptr); in ospf_print_grace_lsa() 197 tlv_length = EXTRACT_16BITS(tptr+2); in ospf_print_grace_lsa() 198 tptr+=4; in ospf_print_grace_lsa() 217 ND_TCHECK2(*tptr, tlv_length); in ospf_print_grace_lsa() 225 ND_PRINT((ndo, "%us", EXTRACT_32BITS(tptr))); in ospf_print_grace_lsa() 234 tok2str(lsa_opaque_grace_tlv_reason_values, "Unknown", *tptr), in ospf_print_grace_lsa() 235 *tptr)); in ospf_print_grace_lsa() 243 ND_PRINT((ndo, "%s", ipaddr_string(ndo, tptr))); in ospf_print_grace_lsa() [all …]
|
D | print-lwapp.c | 170 const u_char *tptr; in lwapp_control_print() local 174 tptr=pptr; in lwapp_control_print() 178 ND_TCHECK2(*tptr, 6); in lwapp_control_print() 216 ND_PRINT((ndo, "\n\tAP identity: %s", etheraddr_string(ndo, tptr))); in lwapp_control_print() 217 tptr+=sizeof(const struct lwapp_transport_header)+6; in lwapp_control_print() 219 tptr+=sizeof(const struct lwapp_transport_header); in lwapp_control_print() 225 ND_TCHECK2(*tptr, sizeof(struct lwapp_control_header)); in lwapp_control_print() 227 lwapp_control_header = (const struct lwapp_control_header *)tptr; in lwapp_control_print() 239 ND_TCHECK2(*tptr, msg_tlen); in lwapp_control_print() 278 tptr += sizeof(struct lwapp_control_header) + msg_tlen; in lwapp_control_print() [all …]
|
D | print-vqp.c | 106 const u_char *tptr; in vqp_print() local 112 tptr=pptr; in vqp_print() 151 tptr+=sizeof(const struct vqp_common_header_t); in vqp_print() 156 vqp_obj_tlv = (const struct vqp_obj_tlv_t *)tptr; in vqp_print() 162 tptr+=sizeof(struct vqp_obj_tlv_t); in vqp_print() 175 ND_TCHECK2(*tptr, vqp_obj_len); in vqp_print() 183 ND_PRINT((ndo, "%s (0x%08x)", ipaddr_string(ndo, tptr), EXTRACT_32BITS(tptr))); in vqp_print() 190 safeputs(ndo, tptr, vqp_obj_len); in vqp_print() 197 ND_PRINT((ndo, "%s", etheraddr_string(ndo, tptr))); in vqp_print() 201 print_unknown_data(ndo,tptr, "\n\t ", vqp_obj_len); in vqp_print() [all …]
|
D | print-slow.c | 350 register const u_char *tptr, register u_int tlen, in slow_marker_lacp_print() argument 369 ND_TCHECK2(*tptr, sizeof(struct tlv_header_t)); in slow_marker_lacp_print() 370 tlv_header = (const struct tlv_header_t *)tptr; in slow_marker_lacp_print() 399 ND_TCHECK2(*tptr, tlv_len); in slow_marker_lacp_print() 401 tlv_tptr=tptr+sizeof(struct tlv_header_t); in slow_marker_lacp_print() 472 print_unknown_data(ndo, tptr+sizeof(struct tlv_header_t), "\n\t ", in slow_marker_lacp_print() 476 tptr+=tlv_len; in slow_marker_lacp_print() 491 register const u_char *tptr, register u_int tlen) in slow_oam_print() argument 518 ptr.slow_oam_common_header = (const struct slow_oam_common_header_t *)tptr; in slow_oam_print() 522 tptr += sizeof(struct slow_oam_common_header_t); in slow_oam_print() [all …]
|
D | print-sflow.c | 493 const u_char *tptr; in sflow_print_counter_records() local 501 tptr = pointer; in sflow_print_counter_records() 508 sflow_counter_record = (const struct sflow_counter_record_t *)tptr; in sflow_print_counter_records() 521 tptr += sizeof(struct sflow_counter_record_t); in sflow_print_counter_records() 529 if (print_sflow_counter_generic(ndo, tptr, tlen)) in sflow_print_counter_records() 533 if (print_sflow_counter_ethernet(ndo, tptr, tlen)) in sflow_print_counter_records() 537 if (print_sflow_counter_token_ring(ndo, tptr,tlen)) in sflow_print_counter_records() 541 if (print_sflow_counter_basevg(ndo, tptr, tlen)) in sflow_print_counter_records() 545 if (print_sflow_counter_vlan(ndo, tptr, tlen)) in sflow_print_counter_records() 549 if (print_sflow_counter_processor(ndo, tptr, tlen)) in sflow_print_counter_records() [all …]
|
D | print-rsvp.c | 492 const u_char *tptr, u_short obj_tlen) in rsvp_intserv_print() argument 502 parameter_id = *(tptr); in rsvp_intserv_print() 503 ND_TCHECK2(*(tptr + 2), 2); in rsvp_intserv_print() 504 parameter_length = EXTRACT_16BITS(tptr+2)<<2; /* convert wordcount to bytecount */ in rsvp_intserv_print() 510 *(tptr + 1))); in rsvp_intserv_print() 525 ND_TCHECK2(*(tptr + 4), 4); in rsvp_intserv_print() 526 ND_PRINT((ndo, "\n\t\tIS hop count: %u", EXTRACT_32BITS(tptr + 4))); in rsvp_intserv_print() 539 ND_TCHECK2(*(tptr + 4), 4); in rsvp_intserv_print() 540 bw.i = EXTRACT_32BITS(tptr+4); in rsvp_intserv_print() 554 ND_TCHECK2(*(tptr + 4), 4); in rsvp_intserv_print() [all …]
|
D | print-ospf6.c | 410 const uint8_t *tptr, u_int lsa_length) in ospf6_print_lsaprefix() argument 412 const struct lsa6_prefix *lsapp = (const struct lsa6_prefix *)tptr; in ospf6_print_lsaprefix() 471 const uint8_t *tptr; in ospf6_print_lsa() local 487 tptr = (const uint8_t *)lsap+sizeof(struct lsa6_hdr); in ospf6_print_lsa() 573 tptr = (const uint8_t *)lsap->lsa_un.un_inter_ap.inter_ap_prefix; in ospf6_print_lsa() 575 bytelen = ospf6_print_lsaprefix(ndo, tptr, lsa_length); in ospf6_print_lsa() 579 tptr += bytelen; in ospf6_print_lsa() 595 tptr = (const uint8_t *)lsap->lsa_un.un_asla.asla_prefix; in ospf6_print_lsa() 596 lsapp = (const struct lsa6_prefix *)tptr; in ospf6_print_lsa() 597 bytelen = ospf6_print_lsaprefix(ndo, tptr, lsa_length); in ospf6_print_lsa() [all …]
|
/external/rust/crates/ring/crypto/fipsmodule/bn/asm/ |
D | x86_64-mont5.pl | 1079 my ($i,$j,$tptr)=("%rbp","%rcx",$rptr); 1312 lea 48+8(%rsp,$num,2),$tptr # end of tp[] buffer, &tp[2*$num] 1314 lea -32($tptr,$i),$tptr # end of tp[] window, &tp[2*$num-"$i"] 1322 mov $A0[0],-24($tptr,$i) # t[1] 1328 mov $A0[1],-16($tptr,$i) # t[2] 1346 mov $A0[0],-8($tptr,$j) # t[3] 1371 mov $A0[1],($tptr,$j) # t[4] 1387 mov $A0[0],8($tptr,$j) # t[5] 1404 mov $A0[1],16($tptr,$j) # t[6] 1416 mov $A0[0],-8($tptr,$j) # t[7] [all …]
|
D | x86_64-mont.pl | 815 my ($i,$j,$tptr)=("%rbp","%rcx",$rptr); 1095 my ($aptr, $bptr, $nptr, $tptr, $mi, $bi, $zero, $num)= 1101 lea 64+32(%rsp),$tptr 1130 mov %r10,-4*8($tptr) 1135 mov %r11,-3*8($tptr) 1139 mov %r12,-2*8($tptr) 1158 lea 4*8($tptr),$tptr 1168 mov %r10,-5*8($tptr) 1170 mov %r11,-4*8($tptr) 1174 mov %r12,-3*8($tptr) [all …]
|
/external/boringssl/src/crypto/fipsmodule/bn/asm/ |
D | x86_64-mont5.pl | 1079 my ($i,$j,$tptr)=("%rbp","%rcx",$rptr); 1312 lea 48+8(%rsp,$num,2),$tptr # end of tp[] buffer, &tp[2*$num] 1314 lea -32($tptr,$i),$tptr # end of tp[] window, &tp[2*$num-"$i"] 1322 mov $A0[0],-24($tptr,$i) # t[1] 1328 mov $A0[1],-16($tptr,$i) # t[2] 1346 mov $A0[0],-8($tptr,$j) # t[3] 1371 mov $A0[1],($tptr,$j) # t[4] 1387 mov $A0[0],8($tptr,$j) # t[5] 1404 mov $A0[1],16($tptr,$j) # t[6] 1416 mov $A0[0],-8($tptr,$j) # t[7] [all …]
|
D | x86_64-mont.pl | 816 my ($i,$j,$tptr)=("%rbp","%rcx",$rptr); 1097 my ($aptr, $bptr, $nptr, $tptr, $mi, $bi, $zero, $num)= 1103 lea 64+32(%rsp),$tptr 1132 mov %r10,-4*8($tptr) 1137 mov %r11,-3*8($tptr) 1141 mov %r12,-2*8($tptr) 1160 lea 4*8($tptr),$tptr 1170 mov %r10,-5*8($tptr) 1172 mov %r11,-4*8($tptr) 1176 mov %r12,-3*8($tptr) [all …]
|
/external/libcups/cups/ |
D | snprintf.c | 37 *tptr, /* Pointer into temporary format */ in _cups_vsnprintf() local 57 tptr = tformat; in _cups_vsnprintf() 58 *tptr++ = *format++; in _cups_vsnprintf() 69 *tptr++ = *format; in _cups_vsnprintf() 84 snprintf(tptr, sizeof(tformat) - (tptr - tformat), "%d", width); in _cups_vsnprintf() 85 tptr += strlen(tptr); in _cups_vsnprintf() 93 if (tptr < (tformat + sizeof(tformat) - 1)) in _cups_vsnprintf() 94 *tptr++ = *format; in _cups_vsnprintf() 102 if (tptr < (tformat + sizeof(tformat) - 1)) in _cups_vsnprintf() 103 *tptr++ = *format; in _cups_vsnprintf() [all …]
|
D | debug.c | 357 *tptr, /* Pointer into temporary format */ in _cups_safe_vsnprintf() local 378 tptr = tformat; in _cups_safe_vsnprintf() 379 *tptr++ = *format++; in _cups_safe_vsnprintf() 390 *tptr++ = *format++; in _cups_safe_vsnprintf() 401 snprintf(tptr, sizeof(tformat) - (size_t)(tptr - tformat), "%d", width); in _cups_safe_vsnprintf() 402 tptr += strlen(tptr); in _cups_safe_vsnprintf() 410 if (tptr < (tformat + sizeof(tformat) - 1)) in _cups_safe_vsnprintf() 411 *tptr++ = *format; in _cups_safe_vsnprintf() 419 if (tptr < (tformat + sizeof(tformat) - 1)) in _cups_safe_vsnprintf() 420 *tptr++ = *format; in _cups_safe_vsnprintf() [all …]
|