Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:VirtnetHdr
(Results
1 - 2
of
2
) sorted by relevance
/device/qemu/riscv32_virt/liteos_m/board/driver/
H
A
D
virtnet.c
91
struct
VirtnetHdr
{
struct
115
#define VIRTQ_RXBUF_SIZE ALIGN(sizeof(struct
VirtnetHdr
) + ETH_FRAME_LEN, VIRTQ_RXBUF_ALIGN)
125
uint16_t count; /* occupied desc entries, including
VirtnetHdr
*/
140
struct
VirtnetHdr
vnHdr;
259
q->desc[i].len = sizeof(struct
VirtnetHdr
) + ETH_FRAME_LEN;
in ConfigRxBuffer()
283
* We pad before the first Rx buf to happy it. Rx buf =
VirtnetHdr
+ packet,
in ConfigQueue()
284
* then (buf base + pad +
VirtnetHdr
- ETH_PAD_SIZE) should align with 4B.
in ConfigQueue()
302
pad = (buf + sizeof(struct
VirtnetHdr
) - ETH_PAD_SIZE) % VIRTQ_RXBUF_ALIGN;
in ConfigQueue()
356
/* plus 1 for
VirtnetHdr
*/
in LowLevelOutput()
365
trans->desc[head].len = sizeof(struct
VirtnetHdr
);
in LowLevelOutput()
[all...]
/device/qemu/drivers/virtio/
H
A
D
virtnet.c
49
struct
VirtnetHdr
{
struct
64
* packet always occupy two desc items: one for
VirtnetHdr
, the other for NetBuf.
75
#define PER_RXBUF_SIZE (sizeof(struct
VirtnetHdr
) + ETH_FRAME_LEN)
87
struct
VirtnetHdr
vnHdr;
245
trans->desc[head].len = sizeof(struct
VirtnetHdr
);
in LowLevelOutput()
270
len = e->len - sizeof(struct
VirtnetHdr
);
in LowLevelInput()
277
(void)memcpy_s(payload, len, nic->rbuf[e->id] + sizeof(struct
VirtnetHdr
), len);
in LowLevelInput()
Completed in 5 milliseconds