HomeSort by relevance Sort by last modified time
    Searched refs:BpfInsn (Results 1 - 25 of 45) sorted by null

1 2

  /kernel/tests/net/test/
bpf.py 162 BpfInsn = cstruct.Struct("bpf_insn", "=BBhi", "code dst_src_reg off imm")
224 attr = BpfAttrProgLoad((prog_type, len(insn_buff) / len(BpfInsn),
252 ret = BpfInsn((code, dst_src, 0, 0))
259 ret = BpfInsn((code, dst_src, off, 0))
266 ret = BpfInsn((code, dst_src, off, 0))
273 ret = BpfInsn((code, dst_src, off, imm))
280 ret = BpfInsn((code, dst_src, 0, imm))
287 ret = BpfInsn((code, dst_src, off, imm))
292 ret = BpfInsn((code, (src << 4 | dst), off, imm))
299 ret = BpfInsn((code, dst_src, 0, imm)
    [all...]
  /prebuilts/go/darwin-x86/src/syscall/
bpf_bsd.go 16 func BpfStmt(code, k int) *BpfInsn {
17 return &BpfInsn{Code: uint16(code), K: uint32(k)}
21 func BpfJump(code, k, jt, jf int) *BpfInsn {
22 return &BpfInsn{Code: uint16(code), Jt: uint8(jt), Jf: uint8(jf), K: uint32(k)}
146 func SetBpf(fd int, i []BpfInsn) error {
149 p.Insns = (*BpfInsn)(unsafe.Pointer(&i[0]))
ztypes_netbsd_386.go 352 Insns *BpfInsn
355 type BpfInsn struct {
ztypes_solaris_amd64.go 338 Insns *BpfInsn
341 type BpfInsn struct {
types_darwin.go 237 type BpfInsn C.struct_bpf_insn
types_dragonfly.go 236 type BpfInsn C.struct_bpf_insn
types_netbsd.go 220 type BpfInsn C.struct_bpf_insn
types_openbsd.go 236 type BpfInsn C.struct_bpf_insn
types_solaris.go 221 type BpfInsn C.struct_bpf_insn
ztypes_darwin_386.go 422 Insns *BpfInsn
425 type BpfInsn struct {
ztypes_darwin_amd64.go 431 Insns *BpfInsn
434 type BpfInsn struct {
ztypes_darwin_arm.go 423 Insns *BpfInsn
426 type BpfInsn struct {
ztypes_darwin_arm64.go 431 Insns *BpfInsn
434 type BpfInsn struct {
ztypes_dragonfly_amd64.go 417 Insns *BpfInsn
420 type BpfInsn struct {
ztypes_freebsd_386.go 461 Insns *BpfInsn
464 type BpfInsn struct {
ztypes_freebsd_amd64.go 464 Insns *BpfInsn
467 type BpfInsn struct {
ztypes_freebsd_arm.go 464 Insns *BpfInsn
467 type BpfInsn struct {
  /prebuilts/go/linux-x86/src/syscall/
bpf_bsd.go 16 func BpfStmt(code, k int) *BpfInsn {
17 return &BpfInsn{Code: uint16(code), K: uint32(k)}
21 func BpfJump(code, k, jt, jf int) *BpfInsn {
22 return &BpfInsn{Code: uint16(code), Jt: uint8(jt), Jf: uint8(jf), K: uint32(k)}
146 func SetBpf(fd int, i []BpfInsn) error {
149 p.Insns = (*BpfInsn)(unsafe.Pointer(&i[0]))
ztypes_netbsd_386.go 352 Insns *BpfInsn
355 type BpfInsn struct {
ztypes_solaris_amd64.go 338 Insns *BpfInsn
341 type BpfInsn struct {
types_darwin.go 237 type BpfInsn C.struct_bpf_insn
types_dragonfly.go 236 type BpfInsn C.struct_bpf_insn
types_netbsd.go 220 type BpfInsn C.struct_bpf_insn
types_openbsd.go 236 type BpfInsn C.struct_bpf_insn
types_solaris.go 221 type BpfInsn C.struct_bpf_insn

Completed in 418 milliseconds

1 2