/external/syslinux/core/lwip/src/core/snmp/ |
D | msg_out.c | 117 u16_t tot_len; in snmp_send_response() local 121 tot_len = snmp_varbind_list_sum(&m_stat->outvb); in snmp_send_response() 122 tot_len = snmp_resp_header_sum(m_stat, tot_len); in snmp_send_response() 125 p = pbuf_alloc(PBUF_TRANSPORT, tot_len, PBUF_POOL); in snmp_send_response() 134 tot_len = snmp_varbind_list_sum(&emptyvb); in snmp_send_response() 135 tot_len = snmp_resp_header_sum(m_stat, tot_len); in snmp_send_response() 137 p = pbuf_alloc(PBUF_TRANSPORT, tot_len, PBUF_POOL); in snmp_send_response() 226 u16_t i,tot_len; in snmp_send_trap() local 257 tot_len = snmp_varbind_list_sum(&trap_msg.outvb); in snmp_send_trap() 258 tot_len = snmp_trap_header_sum(&trap_msg, tot_len); in snmp_send_trap() [all …]
|
/external/syslinux/core/lwip/src/core/ |
D | pbuf.c | 231 p->tot_len = length; in pbuf_alloc() 265 q->tot_len = (u16_t)rem_len; in pbuf_alloc() 292 p->len = p->tot_len = length; in pbuf_alloc() 313 p->len = p->tot_len = length; in pbuf_alloc() 384 p->pbuf.len = p->pbuf.tot_len = length; in pbuf_alloced_custom() 420 if (new_len >= p->tot_len) { in pbuf_realloc() 427 grow = new_len - p->tot_len; in pbuf_realloc() 438 q->tot_len += (u16_t)grow; in pbuf_realloc() 455 q->tot_len = q->len; in pbuf_realloc() 553 p->tot_len += header_size_increment; in pbuf_header() [all …]
|
D | udp.c | 102 if (p->tot_len < (IPH_HL(iphdr) * 4 + UDP_HLEN) || pbuf_header(p, -(s16_t)(IPH_HL(iphdr) * 4))) { 105 ("udp_input: short UDP datagram (%"U16_F" bytes) discarded\n", p->tot_len)); 118 LWIP_DEBUGF(UDP_DEBUG, ("udp_input: received datagram of length %"U16_F"\n", p->tot_len)); 229 chklen = p->tot_len; 241 IP_PROTO_UDPLITE, p->tot_len, chklen) != 0) { 257 IP_PROTO_UDP, p->tot_len) != 0) { 308 q = pbuf_alloc(PBUF_RAW, p->tot_len, PBUF_RAM); 523 if (p->tot_len != 0) { 574 LWIP_DEBUGF(UDP_DEBUG, ("udp_send: sending datagram of length %"U16_F"\n", q->tot_len)); 580 LWIP_DEBUGF(UDP_DEBUG, ("udp_send: UDP LITE packet length %"U16_F"\n", q->tot_len)); [all …]
|
D | tcp_out.c | 169 seg->len = p->tot_len - optlen; in tcp_create_segment() 259 p->len = p->tot_len = length; in tcp_pbuf_prealloc() 625 p->tot_len += oversize_used; in tcp_write() 646 last_unsent->len += concat_p->tot_len; in tcp_write() 870 IP_PROTO_TCP, p->tot_len); in tcp_send_empty_ack() 1110 seg->p->tot_len -= len; in tcp_output_segment() 1122 IP_PROTO_TCP, seg->p->tot_len); in tcp_output_segment() 1126 seg->p->tot_len == (TCPH_HDRLEN(seg->tcphdr) * 4)); in tcp_output_segment() 1132 IP_PROTO_TCP, seg->p->tot_len, TCPH_HDRLEN(seg->tcphdr) * 4); in tcp_output_segment() 1152 IP_PROTO_TCP, seg->p->tot_len); in tcp_output_segment() [all …]
|
D | tcp_in.c | 116 if (pbuf_header(p, -((s16_t)(IPH_HL(iphdr) * 4))) || (p->tot_len < sizeof(struct tcp_hdr))) { in tcp_input() 118 …LWIP_DEBUGF(TCP_INPUT_DEBUG, ("tcp_input: short packet (%"U16_F" bytes) discarded\n", p->tot_len)); in tcp_input() 139 IP_PROTO_TCP, p->tot_len) != 0) { in tcp_input() 142 IP_PROTO_TCP, p->tot_len))); in tcp_input() 175 tcplen = p->tot_len + ((flags & (TCP_FIN | TCP_SYN)) ? 1 : 0); in tcp_input() 293 inseg.len = p->tot_len; in tcp_input() 1148 LWIP_ASSERT("pbuf too short!", (((s32_t)inseg.p->tot_len) >= off)); in tcp_receive() 1149 new_tot_len = (u16_t)(inseg.p->tot_len - off); in tcp_receive() 1155 p->tot_len = new_tot_len; in tcp_receive() 1284 if (inseg.p->tot_len > 0) { in tcp_receive() [all …]
|
D | netif.c | 610 r = pbuf_alloc(PBUF_LINK, p->tot_len, PBUF_RAM); in netif_loop_output() 658 snmp_add_ifoutoctets(stats_if, p->tot_len); in netif_loop_output() 703 while (in_end->len != in_end->tot_len) { in netif_poll() 723 snmp_add_ifinoctets(stats_if, in->tot_len); in netif_poll()
|
D | dns.c | 753 if (p->tot_len > DNS_MSG_SIZE) { in dns_recv() 760 if (p->tot_len < (SIZEOF_DNS_HDR + SIZEOF_DNS_QUERY + SIZEOF_DNS_ANSWER)) { in dns_recv() 767 if (pbuf_copy_partial(p, dns_payload, p->tot_len, 0) == p->tot_len) { in dns_recv()
|
/external/wpa_supplicant_8/src/ap/ |
D | dhcp_snoop.c | 42 u16 tot_len; in handle_dhcp() local 49 tot_len = ntohs(b->iph.tot_len); in handle_dhcp() 50 if (tot_len > (unsigned int) (len - ETH_HLEN)) in handle_dhcp() 57 end = (const u8 *) b + tot_len; in handle_dhcp()
|
D | fils_hlp.c | 264 iph->tot_len = htons(sizeof(*iph) + sizeof(*udph) + (end - pos)); in fils_dhcp_handler() 509 u16 tot_len; in fils_process_hlp_ip() local 519 tot_len = ntohs(iph->tot_len); in fils_process_hlp_ip() 520 if (tot_len > len) in fils_process_hlp_ip()
|
/external/syslinux/core/lwip/src/core/ipv4/ |
D | icmp.c | 93 if (pbuf_header(p, -hlen) || (p->tot_len < sizeof(u16_t)*2)) { in icmp_input() 94 LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: short ICMP (%"U16_F" bytes) received\n", p->tot_len)); in icmp_input() 133 if (p->tot_len < sizeof(struct icmp_echo_hdr)) { in icmp_input() 156 r = pbuf_alloc(PBUF_LINK, p->tot_len, PBUF_RAM); in icmp_input()
|
D | ip.c | 275 if ((iphdr_hlen > p->len) || (iphdr_len > p->tot_len)) { 281 if (iphdr_len > p->tot_len) { 284 iphdr_len, p->tot_len)); 440 …ntohs(IPH_ID(iphdr)), p->tot_len, ntohs(IPH_LEN(iphdr)), !!(IPH_OFFSET(iphdr) & PP_HTONS(IP_MF)), … 481 LWIP_DEBUGF(IP_DEBUG, ("ip_input: p->len %"U16_F" p->tot_len %"U16_F"\n", p->len, p->tot_len)); 664 IPH_LEN_SET(iphdr, htons(p->tot_len)); 721 if (netif->mtu && (p->tot_len > netif->mtu)) {
|
/external/avb/libavb/ |
D | avb_sha.h | 53 uint32_t tot_len; member 62 uint32_t tot_len; member
|
D | avb_sha256.c | 121 ctx->tot_len = 0; in avb_sha256_init() 351 ctx->tot_len += (block_nb + 1) << 6; in avb_sha256_update() 365 len_b = (ctx->tot_len + ctx->len) << 3; in avb_sha256_final()
|
D | avb_sha512.c | 152 ctx->tot_len = 0; in avb_sha512_init() 349 ctx->tot_len += (block_nb + 1) << 7; in avb_sha512_update() 364 len_b = (ctx->tot_len + ctx->len) << 3; in avb_sha512_final()
|
/external/toolchain-utils/deprecated/ |
D | compare_benchmarks.py | 82 tot_len = len(hdr) 83 PrintDash(tot_len * 15) 90 PrintDash(tot_len * 15)
|
/external/mmc-utils/3rdparty/hmac_sha/ |
D | sha2.h | 63 unsigned int tot_len; member 70 unsigned int tot_len; member
|
D | sha2.c | 355 ctx->tot_len = 0; in sha256_init() 389 ctx->tot_len += (block_nb + 1) << 6; in sha256_update() 405 len_b = (ctx->tot_len + ctx->len) << 3; in sha256_final() 552 ctx->tot_len = 0; in sha512_init() 586 ctx->tot_len += (block_nb + 1) << 7; in sha512_update() 602 len_b = (ctx->tot_len + ctx->len) << 3; in sha512_final() 654 ctx->tot_len = 0; in sha384_init() 688 ctx->tot_len += (block_nb + 1) << 7; in sha384_update() 704 len_b = (ctx->tot_len + ctx->len) << 3; in sha384_final() 754 ctx->tot_len = 0; in sha224_init() [all …]
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
D | sha.h | 41 uint32_t tot_len; member 49 uint32_t tot_len; member
|
/external/syslinux/core/lwip/src/netif/ppp/ |
D | ppp.c | 708 snmp_add_ifoutoctets(&pc->netif, nb->tot_len); in nPut() 760 u16_t tot_len; in pppifOutputOverEthernet() local 781 tot_len = pb->tot_len; in pppifOutputOverEthernet() 789 snmp_add_ifoutoctets(&pc->netif, tot_len); in pppifOutputOverEthernet() 1560 if(p->tot_len == p->len) { in pppSingleBuf() 1564 q = pbuf_alloc(PBUF_RAW, p->tot_len, PBUF_RAM); in pppSingleBuf() 1567 ("pppSingleBuf: unable to alloc new buf (%d)\n", p->tot_len)); in pppSingleBuf() 1607 snmp_add_ifinoctets(&pppControl[pd].netif, nb->tot_len); in pppInput() 1806 pcrx->inTail->tot_len = pcrx->inTail->len; in pppInProc() 1811 pcrx->inTail->tot_len = pcrx->inTail->len; in pppInProc() [all …]
|
D | ppp_oe.c | 340 if(pb->tot_len == pb->len) { in pppoe_dispatch_disc_pkt() 341 pb->tot_len = pb->len = (u16_t)off + plen; /* ignore trailing garbage */ in pppoe_dispatch_disc_pkt() 658 pb->tot_len)); in pppoe_output() 701 LWIP_ASSERT("pb->tot_len == pb->len", pb->tot_len == pb->len); in pppoe_send_padi() 918 LWIP_ASSERT("pb->tot_len == pb->len", pb->tot_len == pb->len); in pppoe_send_padr() 958 LWIP_ASSERT("pb->tot_len == pb->len", pb->tot_len == pb->len); in pppoe_send_padt() 997 LWIP_ASSERT("pb->tot_len == pb->len", pb->tot_len == pb->len); in pppoe_send_pado() 1034 LWIP_ASSERT("pb->tot_len == pb->len", pb->tot_len == pb->len); in pppoe_send_pads() 1065 len = pb->tot_len; in pppoe_xmit()
|
/external/android-clat/ |
D | ipv6.c | 176 ip_targ->tot_len = htons(ntohs(ip_targ->tot_len) + packet_length(out, pos)); in ipv6_packet()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 799 u16 tot_len = 0; in eap_pwd_process() local 883 tot_len = WPA_GET_BE16(pos); in eap_pwd_process() 885 "total length = %d", tot_len); in eap_pwd_process() 886 if (tot_len > 15000) in eap_pwd_process() 894 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process() 989 tot_len = len; in eap_pwd_process() 995 "length = %d", tot_len); in eap_pwd_process() 1006 wpabuf_put_be16(resp, tot_len); in eap_pwd_process()
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmpv4_sender.c | 369 pkt.hdr.tot_len = htons(pkt_size); in create_clean_packet() 435 bitsize = sizeof(pkt->hdr.tot_len) * 8; in thrust_fakes() 437 pkt->hdr.tot_len ^= seed; in thrust_fakes()
|
/external/vboot_reference/firmware/lib/cryptolib/ |
D | sha256.c | 125 ctx->tot_len = 0; in SHA256_init() 274 ctx->tot_len += (block_nb + 1) << 6; in SHA256_update() 288 len_b = (ctx->tot_len + ctx->len) << 3; in SHA256_final()
|
/external/syslinux/core/lwip/src/api/ |
D | api_msg.c | 92 if ((recv_avail + (int)(p->tot_len)) > conn->recv_bufsize) { in recv_raw() 97 q = pbuf_alloc(PBUF_RAW, p->tot_len, PBUF_RAM); in recv_raw() 118 len = q->tot_len; in recv_raw() 163 ((recv_avail + (int)(p->tot_len)) > conn->recv_bufsize)) { 194 len = p->tot_len; 233 tcp_recved(pcb, p->tot_len); 246 len = p->tot_len; 688 tcp_recved(conn->pcb.tcp, p->tot_len);
|