Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fearful-symmetry committed Sep 10, 2024
1 parent d8c7e25 commit 40fa09a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GPL/Events/Network/Probe.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ int BPF_KPROBE(kprobe__ip_send_skb, struct net *net, struct sk_buff *skb)
return handle_consume(skb, len, EBPF_EVENT_NETWORK_UDP_SENDMSG);
}

SEC("kprobe/skb_consume_skb")
SEC("kprobe/skb_consume_udp")
int BPF_KPROBE(kprobe__skb_consume_skb, struct net *net, struct sk_buff *skb)
{
// return handle_consume(skb, len, EBPF_EVENT_NETWORK_UDP_SENDMSG);
Expand All @@ -284,7 +284,7 @@ int BPF_KPROBE(kprobe__skb_consume_skb, struct net *net, struct sk_buff *skb)
}
}

SEC("kretprobe/skb_consume_skb")
SEC("kretprobe/skb_consume_udp")
int BPF_KRETPROBE(kretprobe__skb_consume_skb, int ret)
{
u64 pid_tid = bpf_get_current_pid_tgid();
Expand Down

0 comments on commit 40fa09a

Please sign in to comment.