From 8a1f1f07b4d5c51a99e439c5b13b0cd8bb742856 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 27 Apr 2022 16:21:45 +0200 Subject: sys/linux: make bpf_link_create_arg a template Make bpf_link_create_arg a template so that it's possible to create more specialized versions. Add a specialized version for XDP links. First, they need a special program type, plus a special attach type and target fd is not an fd, but rather ifindex. --- sys/linux/dev_msr.txt.const | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/linux/dev_msr.txt.const') diff --git a/sys/linux/dev_msr.txt.const b/sys/linux/dev_msr.txt.const index 6413bdb5b..8941369f7 100644 --- a/sys/linux/dev_msr.txt.const +++ b/sys/linux/dev_msr.txt.const @@ -2,6 +2,5 @@ arches = 386, amd64, arm, arm64, mips64le, ppc64le, riscv64, s390x O_RDONLY = 0 X86_IOC_RDMSR_REGS = 3223348128, arm:arm64:mips64le:ppc64le:riscv64:s390x:??? -X86_IOC_WRMSR_REGS = 3223348129, arm:arm64:mips64le:ppc64le:riscv64:s390x:??? __NR_ioctl = 54, amd64:16, arm64:riscv64:29, mips64le:5015 __NR_read = 3, amd64:0, arm64:riscv64:63, mips64le:5000 -- cgit mrf-deployment