diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-05-01 16:53:46 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-05-02 16:13:13 +0200 |
commit | 5d37dab012e5d841d9961dec93e1e813d723fdd4 (patch) | |
tree | ad7937e62c335be1abb920c001952c07e70b90a2 /passt.h | |
parent | 34fb381b5a5cb61e9e5ca554ff58349b6d5fe154 (diff) | |
download | passt-5d37dab012e5d841d9961dec93e1e813d723fdd4.tar passt-5d37dab012e5d841d9961dec93e1e813d723fdd4.tar.gz passt-5d37dab012e5d841d9961dec93e1e813d723fdd4.tar.bz2 passt-5d37dab012e5d841d9961dec93e1e813d723fdd4.tar.lz passt-5d37dab012e5d841d9961dec93e1e813d723fdd4.tar.xz passt-5d37dab012e5d841d9961dec93e1e813d723fdd4.tar.zst passt-5d37dab012e5d841d9961dec93e1e813d723fdd4.zip |
tap: Remove unused structs tap_msg, tap_l4_msg
Use of these structures was removed in bb708111833e ("treewide: Packet
abstraction with mandatory boundary checks"). Remove the stale
declarations.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.h')
-rw-r--r-- | passt.h | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -9,26 +9,6 @@ #define UNIX_SOCK_MAX 100 #define UNIX_SOCK_PATH "/tmp/passt_%i.socket" -/** - * struct tap_msg - Generic message descriptor for arrays of messages - * @pkt_buf_offset: Offset from @pkt_buf - * @len: Message length, with L2 headers - */ -struct tap_msg { - uint32_t pkt_buf_offset; - uint16_t len; -}; - -/** - * struct tap_l4_msg - Layer-4 message descriptor for protocol handlers - * @pkt_buf_offset: Offset of message from @pkt_buf - * @l4_len: Length of Layer-4 payload, host order - */ -struct tap_l4_msg { - uint32_t pkt_buf_offset; - uint16_t l4_len; -}; - union epoll_ref; #include <stdbool.h> |