Changeset View
Changeset View
Standalone View
Standalone View
sys/net/bpfdesc.h
Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | struct bpf_d { | ||||
u_char bd_immediate; /* true to return on packet arrival */ | u_char bd_immediate; /* true to return on packet arrival */ | ||||
u_char bd_writer; /* non-zero if d is writer-only */ | u_char bd_writer; /* non-zero if d is writer-only */ | ||||
int bd_hdrcmplt; /* false to fill in src lladdr automatically */ | int bd_hdrcmplt; /* false to fill in src lladdr automatically */ | ||||
int bd_direction; /* select packet direction */ | int bd_direction; /* select packet direction */ | ||||
int bd_tstamp; /* select time stamping function */ | int bd_tstamp; /* select time stamping function */ | ||||
int bd_feedback; /* true to feed back sent packets */ | int bd_feedback; /* true to feed back sent packets */ | ||||
int bd_async; /* non-zero if packet reception should generate signal */ | int bd_async; /* non-zero if packet reception should generate signal */ | ||||
int bd_sig; /* signal to send upon packet reception */ | int bd_sig; /* signal to send upon packet reception */ | ||||
int bd_pcp; /* VLAN pcp tag */ | |||||
struct sigio * bd_sigio; /* information for async I/O */ | struct sigio * bd_sigio; /* information for async I/O */ | ||||
struct selinfo bd_sel; /* bsd select info */ | struct selinfo bd_sel; /* bsd select info */ | ||||
struct mtx bd_lock; /* per-descriptor lock */ | struct mtx bd_lock; /* per-descriptor lock */ | ||||
struct callout bd_callout; /* for BPF timeouts with select */ | struct callout bd_callout; /* for BPF timeouts with select */ | ||||
struct label *bd_label; /* MAC label for descriptor */ | struct label *bd_label; /* MAC label for descriptor */ | ||||
counter_u64_t bd_fcount; /* number of packets which matched filter */ | counter_u64_t bd_fcount; /* number of packets which matched filter */ | ||||
pid_t bd_pid; /* PID which created descriptor */ | pid_t bd_pid; /* PID which created descriptor */ | ||||
int bd_locked; /* true if descriptor is locked */ | int bd_locked; /* true if descriptor is locked */ | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |