diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-05-01 16:53:45 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-05-02 16:13:08 +0200 |
commit | 34fb381b5a5cb61e9e5ca554ff58349b6d5fe154 (patch) | |
tree | a3e92c27c5e21ba7f4d18297265202835b11835b /tap.c | |
parent | c27ca9156422bdf2ecdcbf9e1fe06a702a7e288d (diff) | |
download | passt-34fb381b5a5cb61e9e5ca554ff58349b6d5fe154.tar passt-34fb381b5a5cb61e9e5ca554ff58349b6d5fe154.tar.gz passt-34fb381b5a5cb61e9e5ca554ff58349b6d5fe154.tar.bz2 passt-34fb381b5a5cb61e9e5ca554ff58349b6d5fe154.tar.lz passt-34fb381b5a5cb61e9e5ca554ff58349b6d5fe154.tar.xz passt-34fb381b5a5cb61e9e5ca554ff58349b6d5fe154.tar.zst passt-34fb381b5a5cb61e9e5ca554ff58349b6d5fe154.zip |
tap: Split tap specific and L2 (ethernet) headers
In some places (well, actually only UDP now) we use struct tap_hdr to
represent both tap backend specific and L2 ethernet headers. Handling
these together seemed like a good idea at the time, but Laurent's changes
in the TCP code working towards vhost-user support suggest that treating
them separately is more useful, more often.
Alter struct tap_hdr to represent only the TAP backend specific headers.
Updated related helpers and the UDP code to match.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tap.c')
0 files changed, 0 insertions, 0 deletions