mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-19 08:59:16 +00:00
Instead of going through the socket fd, addresses are obtained in kprobe/tcp_sendmsg on ssl write and kprobe/tcp_recvmsg on ssl read. The tcp kprobes and the openssl uprobes communicate through the id->sslInfo bpf map.
24 lines
443 B
C
24 lines
443 B
C
/*
|
|
Note: This file is licenced differently from the rest of the project
|
|
SPDX-License-Identifier: GPL-2.0
|
|
Copyright (C) UP9 Inc.
|
|
*/
|
|
|
|
#ifndef __HEADERS__
|
|
#define __HEADERS__
|
|
|
|
#include <stddef.h>
|
|
|
|
#include "target_arch.h"
|
|
#include "vmlinux_x86.h"
|
|
#include "vmlinux_arm64.h"
|
|
|
|
#include "legacy_kernel.h"
|
|
|
|
#include <bpf/bpf_endian.h>
|
|
#include <bpf/bpf_helpers.h>
|
|
#include <bpf/bpf_tracing.h>
|
|
#include <bpf/bpf_core_read.h>
|
|
|
|
#endif /* __HEADERS__ */
|