/external/wpa_supplicant_8/src/ap/ |
D | dhcp_snoop.c | 66 u16 tot_len; in handle_dhcp() local 73 tot_len = ntohs(b->iph.tot_len); in handle_dhcp() 74 if (tot_len > (unsigned int) (len - ETH_HLEN)) in handle_dhcp() 81 end = (const u8 *) b + tot_len; in handle_dhcp()
|
/external/mmc-utils/3rdparty/hmac_sha/ |
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 …]
|
D | sha2.h | 63 unsigned int tot_len; member 70 unsigned int tot_len; member
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
D | sha.h | 41 uint32_t tot_len; member 49 uint32_t tot_len; member
|
/external/android-clat/ |
D | ipv6.c | 176 ip_targ->tot_len = htons(ntohs(ip_targ->tot_len) + packet_length(out, pos)); in ipv6_packet()
|
D | clatd_microbenchmark.c | 98 .tot_len = htons(len + sizeof(ip) + sizeof(udp)), in send_packet()
|
D | dump.c | 50 printf("tot_len = %x\n",ntohs(header->tot_len)); in dump_ip()
|
D | clatd_test.cpp | 212 EXPECT_EQ(len, ntohs(ip->tot_len)) << msg << ": Incorrect IPv4 length\n"; in check_packet() 359 ip->tot_len = htons(total_length); in reassemble_packet()
|
D | translate.c | 131 ip->tot_len = htons(sizeof(struct iphdr) + payload_len); in fill_ip_header()
|
/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/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()
|
D | sha512.c | 168 ctx->tot_len = 0; in SHA512_init() 296 ctx->tot_len += (block_nb + 1) << 7; in SHA512_update() 312 len_b = (ctx->tot_len + ctx->len) << 3; in SHA512_final()
|
/external/kernel-headers/original/uapi/linux/ |
D | ip.h | 96 __be16 tot_len; member
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 917 u16 tot_len; in eap_pwd_process() local 955 tot_len = WPA_GET_BE16(pos); in eap_pwd_process() 957 "length = %d", tot_len); in eap_pwd_process() 958 if (tot_len > 15000) in eap_pwd_process() 965 data->inbuf = wpabuf_alloc(tot_len); in eap_pwd_process()
|
/external/toybox/toys/pending/ |
D | dhcp.c | 663 if (bytes < ntohs(packet.iph.tot_len)) { in read_raw() 668 bytes = ntohs(packet.iph.tot_len); in read_raw() 685 packet.iph.tot_len = packet.udph.len; in read_raw() 750 packet.iph.tot_len = packet.udph.len; in send_raw() 752 packet.iph.tot_len = htons(sizeof(dhcp_raw_t) - padding); in send_raw()
|
D | dhcpd.c | 939 packet.iph.tot_len = packet.udph.len; in send_packet() 941 packet.iph.tot_len = htons(sizeof(dhcp_raw_t) - padding); in send_packet()
|
/external/blktrace/ |
D | blktrace.c | 1300 unsigned long tot_len; in tb_combine() local 1302 tot_len = prev->len + tbp->len; in tb_combine() 1303 if (tot_len > buf_size) { in tb_combine() 1311 prev = realloc(prev->buf, sizeof(*prev) + tot_len); in tb_combine() 1316 prev->len = tot_len; in tb_combine()
|
/external/iputils/Modules/ |
D | pg3.c | 281 iph->tot_len = htons(iplen); in fill_packet()
|
/external/iputils/ |
D | ping.c | 1296 ip->version, ip->ihl, ip->tos, ip->tot_len, ip->id); in pr_iph()
|
/external/wpa_supplicant_8/hostapd/ |
D | ctrl_iface.c | 1608 ntohs(ip.tot_len) != HWSIM_IP_LEN) in hostapd_data_test_rx() 1705 ip->tot_len = htons(HWSIM_IP_LEN); in hostapd_ctrl_iface_data_test_tx()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ctrl_iface.c | 7783 ntohs(ip.tot_len) != HWSIM_IP_LEN) in wpas_data_test_rx() 7879 ip->tot_len = htons(HWSIM_IP_LEN); in wpas_ctrl_iface_data_test_tx()
|