diff --git a/src/ebpf.rs b/src/ebpf.rs index 6f2432d7f..b0ce538fb 100644 --- a/src/ebpf.rs +++ b/src/ebpf.rs @@ -274,9 +274,9 @@ pub const ADD64_REG : u8 = BPF_ALU64 | BPF_X | BPF_ADD; pub const SUB64_IMM : u8 = BPF_ALU64 | BPF_K | BPF_SUB; /// BPF opcode: `sub64 dst, src` /// `dst -= src`. pub const SUB64_REG : u8 = BPF_ALU64 | BPF_X | BPF_SUB; -/// BPF opcode: `div64 dst, imm` /// `dst /= imm`. +/// BPF opcode: `mul64 dst, imm` /// `dst *= imm`. pub const MUL64_IMM : u8 = BPF_ALU64 | BPF_K | BPF_MUL; -/// BPF opcode: `div64 dst, src` /// `dst /= src`. +/// BPF opcode: `mul64 dst, src` /// `dst *= src`. pub const MUL64_REG : u8 = BPF_ALU64 | BPF_X | BPF_MUL; /// BPF opcode: `div64 dst, imm` /// `dst /= imm`. pub const DIV64_IMM : u8 = BPF_ALU64 | BPF_K | BPF_DIV;