MCPcopy Index your code
hub / github.com/secdev/scapy / bpf_program

Class bpf_program

scapy/libs/structures.py:20–23  ·  view source on GitHub ↗

Structure for BIOCSETF

Source from the content-addressed store, hash-verified

18
19
20class bpf_program(ctypes.Structure):
21 """"Structure for BIOCSETF"""
22 _fields_ = [('bf_len', ctypes.c_int),
23 ('bf_insns', ctypes.POINTER(bpf_insn))]
24
25
26class sock_fprog(ctypes.Structure):

Callers 2

compile_filterFunction · 0.90
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected