HomeSort by relevance Sort by last modified time
    Searched refs:prog_fd (Results 1 - 3 of 3) sorted by null

  /kernel/tests/net/test/
bpf_test.py 69 prog_fd = BpfProgLoad(BPF_PROG_TYPE_SOCKET_FILTER,
74 BpfProgAttach(sock.fileno(), prog_fd)
89 prog_fd = BpfProgLoad(BPF_PROG_TYPE_SOCKET_FILTER,
94 BpfProgAttach(sock.fileno(), prog_fd)
132 prog_fd = BpfProgLoad(BPF_PROG_TYPE_SOCKET_FILTER,
137 BpfProgAttach(sock.fileno(), prog_fd)
bpf.py 202 def BpfProgAttach(sock_fd, prog_fd):
203 prog_ptr = ctypes.c_uint32(prog_fd)
  /external/iproute2/tc/
tc_bpf.c 632 int ret, prog_fd, map_fd; local
637 prog_fd = bpf_parse(&argc, &argv, opt_tbl, &type, &mode,
639 if (prog_fd < 0)
640 return prog_fd;
668 ret = bpf_map_update(map_fd, &map_key, &prog_fd, BPF_ANY);
674 close(prog_fd);
    [all...]

Completed in 384 milliseconds