Home
last modified time | relevance | path

Searched refs:sock_filter (Results 1 – 11 of 11) sorted by relevance

/third_party/iptables/include/linux/netfilter/
Dxt_bpf.h9 #define XT_BPF_PATH_MAX (XT_BPF_MAX_NUM_INSTR * sizeof(struct sock_filter))
15 struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR];
32 struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR];
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/
Dl2_packet_linux.c48 static struct sock_filter dhcp_sock_filter_insns[] = {
73 static struct sock_filter ndisc_sock_filter_insns[] = {
97 static struct sock_filter pkt_type_filter_insns[] = {
355 struct sock_filter ethertype_sock_filter_insns[] = { in l2_packet_init_bridge()
493 const struct sock_fprog *sock_filter; in l2_packet_set_packet_filter() local
500 sock_filter = &dhcp_sock_filter; in l2_packet_set_packet_filter()
503 sock_filter = &ndisc_sock_filter; in l2_packet_set_packet_filter()
506 sock_filter = &pkt_type_sock_filter; in l2_packet_set_packet_filter()
513 sock_filter, sizeof(struct sock_fprog))) { in l2_packet_set_packet_filter()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/
Dl2_packet_linux.c48 static struct sock_filter dhcp_sock_filter_insns[] = {
73 static struct sock_filter ndisc_sock_filter_insns[] = {
97 static struct sock_filter pkt_type_filter_insns[] = {
360 struct sock_filter ethertype_sock_filter_insns[] = { in l2_packet_init_bridge()
498 const struct sock_fprog *sock_filter; in l2_packet_set_packet_filter() local
505 sock_filter = &dhcp_sock_filter; in l2_packet_set_packet_filter()
508 sock_filter = &ndisc_sock_filter; in l2_packet_set_packet_filter()
511 sock_filter = &pkt_type_sock_filter; in l2_packet_set_packet_filter()
518 sock_filter, sizeof(struct sock_fprog))) { in l2_packet_set_packet_filter()
/third_party/iptables/include/linux/
Dfilter.h23 struct sock_filter { /* Filter block */ struct
32 struct sock_filter *filter; argument
/third_party/iptables/extensions/
Dlibxt_bpf.c92 static void bpf_parse_string(struct sock_filter *pc, __u16 *lenp, __u16 len_max, in bpf_parse_string()
188 static void bpf_print_code(const struct sock_filter *pc, __u16 len, char tail) in bpf_print_code()
196 static void bpf_save_code(const struct sock_filter *pc, __u16 len) in bpf_save_code()
/third_party/ltp/testcases/kernel/syscalls/prctl/
Dprctl04.c38 static const struct sock_filter strict_filter[] = {
53 .filter = (struct sock_filter *)strict_filter
Dprctl02.c54 static const struct sock_filter strict_filter[] = {
60 .filter = (struct sock_filter *)strict_filter
/third_party/eudev/src/libudev/
Dlibudev-monitor.c212 static inline void bpf_stmt(struct sock_filter *inss, unsigned int *i, in bpf_stmt()
215 struct sock_filter *ins = &inss[*i]; in bpf_stmt()
222 static inline void bpf_jmp(struct sock_filter *inss, unsigned int *i, in bpf_jmp()
226 struct sock_filter *ins = &inss[*i]; in bpf_jmp()
246 struct sock_filter ins[512]; in udev_monitor_filter_update()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211_monitor.c178 static struct sock_filter msock_filter_insns[] = {
290 struct sock_filter *insn = &msock_filter_insns[idx]; in add_monitor_filter()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211_monitor.c175 static struct sock_filter msock_filter_insns[] = {
287 struct sock_filter *insn = &msock_filter_insns[idx]; in add_monitor_filter()
/third_party/toybox/toys/pending/
Ddhcp.c239 static struct sock_filter filter_instr[] = {
251 .filter = (struct sock_filter *) filter_instr,