Skip to content

Commit 40fa09a

Browse files
typo
1 parent d8c7e25 commit 40fa09a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GPL/Events/Network/Probe.bpf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ int BPF_KPROBE(kprobe__ip_send_skb, struct net *net, struct sk_buff *skb)
261261
return handle_consume(skb, len, EBPF_EVENT_NETWORK_UDP_SENDMSG);
262262
}
263263

264-
SEC("kprobe/skb_consume_skb")
264+
SEC("kprobe/skb_consume_udp")
265265
int BPF_KPROBE(kprobe__skb_consume_skb, struct net *net, struct sk_buff *skb)
266266
{
267267
// return handle_consume(skb, len, EBPF_EVENT_NETWORK_UDP_SENDMSG);
@@ -284,7 +284,7 @@ int BPF_KPROBE(kprobe__skb_consume_skb, struct net *net, struct sk_buff *skb)
284284
}
285285
}
286286

287-
SEC("kretprobe/skb_consume_skb")
287+
SEC("kretprobe/skb_consume_udp")
288288
int BPF_KRETPROBE(kretprobe__skb_consume_skb, int ret)
289289
{
290290
u64 pid_tid = bpf_get_current_pid_tgid();

0 commit comments

Comments
 (0)