Skip to content

Instantly share code, notes, and snippets.

@theojulienne
theojulienne / traceicmpsoftirq.py
Last active Sep 23, 2020
ICMP packet tracer using BCC
View traceicmpsoftirq.py
#!/usr/bin/python
bpf_text = """
#include <linux/ptrace.h>
#include <linux/sched.h> /* For TASK_COMM_LEN */
#include <linux/icmp.h>
#include <linux/netdevice.h>
struct probe_icmp_data_t
{
You can’t perform that action at this time.