1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ 2 #ifndef __TCPCONNLAT_H 3 #define __TCPCONNLAT_H 4 5 #define TASK_COMM_LEN 16 6 7 struct event { 8 union { 9 __u32 saddr_v4; 10 __u8 saddr_v6[16]; 11 }; 12 union { 13 __u32 daddr_v4; 14 __u8 daddr_v6[16]; 15 }; 16 char comm[TASK_COMM_LEN]; 17 __u64 delta_us; 18 __u64 ts_us; 19 __u32 tgid; 20 int af; 21 __u16 lport; 22 __u16 dport; 23 }; 24 25 26 #endif /* __TCPCONNLAT_H_ */ 27