Home
last modified time | relevance | path

Searched refs:vhdr (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/net/
H A Dif_tuntap.c1713 struct virtio_net_hdr_mrg_rxbuf vhdr; in tunread() local
1715 bzero(&vhdr, sizeof(vhdr)); in tunread()
1722 vhdr.hdr.gso_type, vhdr.hdr.hdr_len, in tunread()
1723 vhdr.hdr.gso_size, vhdr.hdr.csum_start, in tunread()
1724 vhdr.hdr.csum_offset); in tunread()
1725 error = uiomove(&vhdr, len, uio); in tunread()
1770 if (vhdr != NULL && virtio_net_rx_csum(m, &vhdr->hdr)) { in tunwrite_l2()
1843 struct virtio_net_hdr_mrg_rxbuf vhdr; in tunwrite() local
1881 vhdr.hdr.gso_type, vhdr.hdr.hdr_len, in tunwrite()
1882 vhdr.hdr.gso_size, vhdr.hdr.csum_start, in tunwrite()
[all …]
/f-stack/dpdk/app/test/
H A Dpacket_burst_generator.c63 struct rte_vlan_hdr *vhdr = (struct rte_vlan_hdr *)( in initialize_eth_header() local
68 vhdr->eth_proto = rte_cpu_to_be_16(ether_type); in initialize_eth_header()
69 vhdr->vlan_tci = van_id; in initialize_eth_header()