diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2025-03-12 13:18:35 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-03-12 23:08:33 +0100 |
| commit | 1eda8de4384a93778a781257781c5b0967c8abfe (patch) | |
| tree | 355a6e1019a8c08259271ec6338e5fa8500aa053 /contrib/qemu/git: | |
| parent | c43972ad67806fb403cdbc05179441917f2a776b (diff) | |
| download | passt-1eda8de4384a93778a781257781c5b0967c8abfe.tar passt-1eda8de4384a93778a781257781c5b0967c8abfe.tar.gz passt-1eda8de4384a93778a781257781c5b0967c8abfe.tar.bz2 passt-1eda8de4384a93778a781257781c5b0967c8abfe.tar.lz passt-1eda8de4384a93778a781257781c5b0967c8abfe.tar.xz passt-1eda8de4384a93778a781257781c5b0967c8abfe.tar.zst passt-1eda8de4384a93778a781257781c5b0967c8abfe.zip | |
packet: Remove redundant TAP_BUF_BYTES define
Currently we define both TAP_BUF_BYTES and PKT_BUF_BYTES as essentially
the same thing. They'll be different only if TAP_BUF_BYTES is negative,
which makes no sense. So, remove TAP_BUF_BYTES and just use PKT_BUF_BYTES.
In addition, most places we use this to just mean the size of the main
packet buffer (pkt_buf) for which we can just directly use sizeof.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib/qemu/git:')
0 files changed, 0 insertions, 0 deletions
