From ad7f57a5b75ae62b48e5ff4f0c302f545dea2603 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Sun, 27 Mar 2022 11:40:50 +0200 Subject: udp: Move flags before ts in struct udp_tap_port, avoid end padding Signed-off-by: Stefano Brivio --- udp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'udp.c') diff --git a/udp.c b/udp.c index d62d962..2cdbe6c 100644 --- a/udp.c +++ b/udp.c @@ -124,17 +124,17 @@ /** * struct udp_tap_port - Port tracking based on tap-facing source port * @sock: Socket bound to source port used as index - * @ts: Activity timestamp from tap, used for socket aging * @flags: Flags for local bind, loopback address/unicast address as source + * @ts: Activity timestamp from tap, used for socket aging */ struct udp_tap_port { int sock; - time_t ts; - uint8_t flags; #define PORT_LOCAL BIT(0) #define PORT_LOOPBACK BIT(1) #define PORT_GUA BIT(2) + + time_t ts; }; /** -- cgit v1.2.3