aboutgitcodebugslistschat
path: root/contrib
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2025-03-12 13:18:35 +1100
committerStefano Brivio <sbrivio@redhat.com>2025-03-12 23:08:33 +0100
commit1eda8de4384a93778a781257781c5b0967c8abfe (patch)
tree355a6e1019a8c08259271ec6338e5fa8500aa053 /contrib
parentc43972ad67806fb403cdbc05179441917f2a776b (diff)
downloadpasst-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')
0 files changed, 0 insertions, 0 deletions