Lines 1079-1085
struct bpf_insn insns[] = {
Link Here
|
1079 |
BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 12), |
1079 |
BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 12), |
1080 |
BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, ETHERTYPE_REVARP, 0, 3), |
1080 |
BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, ETHERTYPE_REVARP, 0, 3), |
1081 |
BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 20), |
1081 |
BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 20), |
1082 |
BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, REVARP_REQUEST, 0, 1), |
1082 |
BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, ARPOP_REVREQUEST, 0, 1), |
1083 |
BPF_STMT(BPF_RET+BPF_K, sizeof(struct ether_arp) + |
1083 |
BPF_STMT(BPF_RET+BPF_K, sizeof(struct ether_arp) + |
1084 |
sizeof(struct ether_header)), |
1084 |
sizeof(struct ether_header)), |
1085 |
BPF_STMT(BPF_RET+BPF_K, 0), |
1085 |
BPF_STMT(BPF_RET+BPF_K, 0), |