Home
last modified time | relevance | path

Searched refs:bpf_program (Results 1 – 25 of 33) sorted by relevance

12

/external/libpcap/
Dpcap1.h228 int pcap_setfilter(pcap_t *, struct bpf_program *);
234 int pcap_compile(pcap_t *, struct bpf_program *, char *, int,
236 int pcap_compile_nopcap(int, int, struct bpf_program *,
238 void pcap_freecode(struct bpf_program *);
269 void bpf_dump(struct bpf_program *, int);
Dpcap.h233 int pcap_setfilter(pcap_t *, struct bpf_program *);
242 int pcap_compile(pcap_t *, struct bpf_program *, const char *, int,
244 int pcap_compile_nopcap(int, int, struct bpf_program *,
246 void pcap_freecode(struct bpf_program *);
279 void bpf_dump(struct bpf_program *, int);
Dpcap-int.h189 int (*setfilter_op)(pcap_t *, struct bpf_program *);
200 struct bpf_program fcode;
336 int install_bpf_program(pcap_t *, struct bpf_program *);
Dpcap-septel.c58 static int septel_setfilter(pcap_t *p, struct bpf_program *fp);
280 static int septel_setfilter(pcap_t *p, struct bpf_program *fp) { in septel_setfilter()
Dpcap-win32.c51 static int pcap_setfilter_win32_npf(pcap_t *, struct bpf_program *);
52 static int pcap_setfilter_win32_dag(pcap_t *, struct bpf_program *);
665 pcap_setfilter_win32_npf(pcap_t *p, struct bpf_program *fp) in pcap_setfilter_win32_npf()
691 pcap_setfilter_win32_dag(pcap_t *p, struct bpf_program *fp) { in pcap_setfilter_win32_dag()
Dbpf_dump.c34 bpf_dump(struct bpf_program *p, int option) in bpf_dump()
Dpcap-pf.c77 static int pcap_setfilter_pf(pcap_t *, struct bpf_program *);
527 pcap_setfilter_pf(pcap_t *p, struct bpf_program *fp) in pcap_setfilter_pf()
Dpcap-bpf.c107 static int pcap_setfilter_bpf(pcap_t *p, struct bpf_program *fp);
608 struct bpf_program total_prog; in pcap_open_live()
1056 pcap_setfilter_bpf(pcap_t *p, struct bpf_program *fp) in pcap_setfilter_bpf()
Dpcap-enet.c52 readloop(int cnt, int if_fd, struct bpf_program *fp, printfunc printit) in readloop()
Dpcap-bpf.h89 struct bpf_program { struct
Dpcap-dag.c97 static int dag_setfilter(pcap_t *p, struct bpf_program *fp);
810 dag_setfilter(pcap_t *p, struct bpf_program *fp) in dag_setfilter()
Dpcap-linux.c197 static int pcap_setfilter_linux(pcap_t *, struct bpf_program *);
925 pcap_setfilter_linux(pcap_t *handle, struct bpf_program *filter) in pcap_setfilter_linux()
Dpcap-dos.c105 static int pcap_setfilter_dos (pcap_t *p, struct bpf_program *fp);
397 static int pcap_setfilter_dos (pcap_t *p, struct bpf_program *fp) in pcap_setfilter_dos()
/external/ppp/pppd/include/net/
Dif_ppp.h133 #define PPPIOCSPASS _IOW('t', 71, struct bpf_program) /* set pass filter */
134 #define PPPIOCSACTIVE _IOW('t', 70, struct bpf_program) /* set active filt */
/external/tcpdump/
Dbpf_dump.c38 bpf_dump(struct bpf_program *p, int option) in bpf_dump()
Dinterface.h333 struct bpf_program;
335 extern void bpf_dump(struct bpf_program *, int);
/external/ppp/pppd/include/
Dpcap-int.h95 struct bpf_program fcode;
/external/ppp/pppd/
Dpppd.h339 extern struct bpf_program pass_filter; /* Filter for pkts to pass */
340 extern struct bpf_program active_filter; /* Filter for link-active pkts */
660 int set_filters __P((struct bpf_program *pass, struct bpf_program *active));
/external/dhcpcd/
Dbpf.c59 struct bpf_program pf; in open_socket()
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/
Dl2_packet_freebsd.c109 struct bpf_program pcap_fp; in l2_packet_init_libpcap()
Dl2_packet_winpcap.c172 struct bpf_program pcap_fp; in l2_packet_init_libpcap()
Dl2_packet_pcap.c207 struct bpf_program pcap_fp; in l2_packet_init_libpcap()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_freebsd.c107 struct bpf_program pcap_fp; in l2_packet_init_libpcap()
Dl2_packet_pcap.c201 struct bpf_program pcap_fp; in l2_packet_init_libpcap()
Dl2_packet_winpcap.c166 struct bpf_program pcap_fp; in l2_packet_init_libpcap()

12