Home
last modified time | relevance | path

Searched refs:prog_fd (Results 1 – 2 of 2) sorted by relevance

/kernel/tests/net/test/
Dbpf_test.py69 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)
Dbpf.py202 def BpfProgAttach(sock_fd, prog_fd): argument
203 prog_ptr = ctypes.c_uint32(prog_fd)