Home
last modified time | relevance | path

Searched refs:pkt_size (Results 1 – 12 of 12) sorted by relevance

/external/honggfuzz/examples/linux_kernel_ip/
Dtun.c196 const size_t pkt_size = 1400UL; in main() local
199 num_iov = ((len - 1) / pkt_size) + 1; in main()
202 size_t off = pkt_size * i; in main()
203 size_t sz = ((len - off) > pkt_size) ? pkt_size : (len - off); in main()
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmpv4_sender.c65 unsigned short int pkt_size; member
356 unsigned short int pkt_size; in create_clean_packet() local
359 pkt_size = sizeof(struct iphdr) /* IP header */ in create_clean_packet()
369 pkt.hdr.tot_len = htons(pkt_size); in create_clean_packet()
397 fake_p->pkt_size = pkt_size; in create_clean_packet()
582 retval = sendto(sock_fd, &pkt, fake_p->pkt_size, 0, in send_packets()
Dns-icmpv6_sender.c65 unsigned short int pkt_size; member
344 info_p->pkt_size = sizeof(struct ip6_hdr) + ip6_psize; in create_mld_query()
408 info_p->pkt_size = sizeof(struct ip6_hdr) + ip6_psize; in create_echo_request()
752 retval = sendto(sock_fd, &pkt, info_p->pkt_size, 0, in send_packets()
/external/libaom/libaom/examples/
Dtwopass_encoder.c83 const size_t pkt_size = pkt->data.twopass_stats.sz; in get_frame_stats() local
84 stats->buf = realloc(stats->buf, stats->sz + pkt_size); in get_frame_stats()
85 memcpy((uint8_t *)stats->buf + stats->sz, pkt_buf, pkt_size); in get_frame_stats()
86 stats->sz += pkt_size; in get_frame_stats()
Dlightfield_encoder.c82 const size_t pkt_size = pkt->data.twopass_stats.sz; in get_frame_stats() local
83 stats->buf = realloc(stats->buf, stats->sz + pkt_size); in get_frame_stats()
84 memcpy((uint8_t *)stats->buf + stats->sz, pkt_buf, pkt_size); in get_frame_stats()
85 stats->sz += pkt_size; in get_frame_stats()
/external/iputils/Modules/
Dpg3.c122 int pkt_size=ETH_ZLEN; variable
247 skb = alloc_skb(pkt_size+64+16, GFP_ATOMIC); in fill_packet()
263 datalen = pkt_size-14-20-8; /* Eth + IPh + UDPh */ in fill_packet()
440 (((pc*1000)/(total/1000))*pkt_size)/1024/1024 in pg_inject()
480 pg_count, pkt_size, nfrags, pg_ipg, in proc_pg_read()
597 pkt_size = value; in proc_pg_write()
598 sprintf(pg_result, "OK: pkt_size=%u", pkt_size); in proc_pg_write()
/external/libvpx/libvpx/examples/
Dtwopass_encoder.c85 const size_t pkt_size = pkt->data.twopass_stats.sz; in get_frame_stats() local
86 stats->buf = realloc(stats->buf, stats->sz + pkt_size); in get_frame_stats()
87 memcpy((uint8_t *)stats->buf + stats->sz, pkt_buf, pkt_size); in get_frame_stats()
88 stats->sz += pkt_size; in get_frame_stats()
/external/libvpx/libvpx/test/
Dvp9_ethread_test.cc93 const size_t pkt_size = pkt->data.twopass_stats.sz; in StatsPktHook() local
96 EXPECT_EQ(pkt_size, kFirstPassStatsSz) in StatsPktHook()
100 realloc(firstpass_stats_.buf, firstpass_stats_.sz + pkt_size); in StatsPktHook()
102 pkt_size); in StatsPktHook()
103 firstpass_stats_.sz += pkt_size; in StatsPktHook()
/external/u-boot/drivers/net/
Dkeystone_net.c652 int pkt_size; in keystone2_eth_rcv_packet() local
655 hd = ksnav_recv(&netcp_pktdma, &pkt, &pkt_size); in keystone2_eth_rcv_packet()
659 net_process_received_packet((uchar *)pkt, pkt_size); in keystone2_eth_rcv_packet()
663 return pkt_size; in keystone2_eth_rcv_packet()
814 int pkt_size; in ks2_eth_recv() local
817 priv->hd = ksnav_recv(priv->netcp_pktdma, &pkt, &pkt_size); in ks2_eth_recv()
823 return pkt_size; in ks2_eth_recv()
Dmvpp2.c660 #define MVPP2_RX_BUF_SIZE(pkt_size) ((pkt_size) + NET_SKB_PAD) argument
975 int pkt_size; member
1248 int pkt_size; member
2611 bm_pool->pkt_size = 0; in mvpp2_bm_pool_create()
2821 int pkt_size) in mvpp2_bm_pool_use() argument
2837 if (((type == MVPP2_BM_SWF_LONG) && (pkt_size > new_pool->pkt_size)) || in mvpp2_bm_pool_use()
2838 (new_pool->pkt_size == 0)) { in mvpp2_bm_pool_use()
2853 new_pool->pkt_size = pkt_size; in mvpp2_bm_pool_use()
2876 port->pkt_size); in mvpp2_swf_bm_pool_init()
2989 val |= (((port->pkt_size - MVPP2_MH_SIZE) / 2) << in mvpp2_gmac_max_rx_size_set()
[all …]
/external/iputils/doc/
Dpg3.sgml55 <term><option>pkt_size <replaceable/BYTES/</option></term>
/external/u-boot/drivers/usb/musb-new/
Dmusb_host.c622 u16 pkt_size = qh->maxpacket; in musb_tx_dma_program() local
631 if (length > pkt_size) { in musb_tx_dma_program()
665 if (!dma->channel_program(channel, pkt_size, mode, in musb_tx_dma_program()