[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1707334523.git.balazs.scheidler@axoflow.com>
Date: Wed, 7 Feb 2024 20:37:14 +0100
From: Balazs Scheidler <bazsi77@...il.com>
To: netdev@...r.kernel.org
Cc: Balazs Scheidler <balazs.scheidler@...flow.com>
Subject: [RFC net-next 0/2] Add IP/port information to UDP drop tracepoint
Hi,
In our use-case we would like to recover the properties of dropped UDP
packets. Unfortunately the current udp_fail_queue_rcv_skb tracepoint
only exposes the port number of the receiving socket.
This patch-set will add the source/dest ip/port to the tracepoint, while
keeping the socket's local port as well for compatibility with previous users
of the tracepoint.
Balazs Scheidler (2):
net: port TP_STORE_ADDR_PORTS_SKB macro to be tcp/udp independent
net: udp: add IP/port data to the tracepoint
udp/udp_fail_queue_rcv_skb
include/trace/events/net_probe_common.h | 41 ++++++++++++++++++++++
include/trace/events/tcp.h | 45 ++-----------------------
include/trace/events/udp.h | 33 +++++++++++++++---
net/ipv4/udp.c | 2 +-
net/ipv6/udp.c | 3 +-
5 files changed, 75 insertions(+), 49 deletions(-)
--
2.40.1
Powered by blists - more mailing lists