Searched refs:prog_fd (Results 1 – 2 of 2) sorted by relevance
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)
202 def BpfProgAttach(sock_fd, prog_fd): argument203 prog_ptr = ctypes.c_uint32(prog_fd)