github.com/sagernet/netlink@v0.0.0-20240612041022-b9a21c07ac6a/nl/lwt_linux.go (about) 1 package nl 2 3 const ( 4 LWT_BPF_PROG_UNSPEC = iota 5 LWT_BPF_PROG_FD 6 LWT_BPF_PROG_NAME 7 __LWT_BPF_PROG_MAX 8 ) 9 10 const ( 11 LWT_BPF_PROG_MAX = __LWT_BPF_PROG_MAX - 1 12 ) 13 14 const ( 15 LWT_BPF_UNSPEC = iota 16 LWT_BPF_IN 17 LWT_BPF_OUT 18 LWT_BPF_XMIT 19 LWT_BPF_XMIT_HEADROOM 20 __LWT_BPF_MAX 21 ) 22 23 const ( 24 LWT_BPF_MAX = __LWT_BPF_MAX - 1 25 ) 26 27 const ( 28 LWT_BPF_MAX_HEADROOM = 256 29 )