Searched refs:sock_filter (Results 1 – 11 of 11) sorted by relevance
/third_party/iptables/include/linux/netfilter/ |
D | xt_bpf.h | 9 #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/ |
D | l2_packet_linux.c | 48 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/ |
D | l2_packet_linux.c | 48 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/ |
D | filter.h | 23 struct sock_filter { /* Filter block */ struct 32 struct sock_filter *filter; argument
|
/third_party/iptables/extensions/ |
D | libxt_bpf.c | 92 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/ |
D | prctl04.c | 38 static const struct sock_filter strict_filter[] = { 53 .filter = (struct sock_filter *)strict_filter
|
D | prctl02.c | 54 static const struct sock_filter strict_filter[] = { 60 .filter = (struct sock_filter *)strict_filter
|
/third_party/eudev/src/libudev/ |
D | libudev-monitor.c | 212 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/ |
D | driver_nl80211_monitor.c | 178 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/ |
D | driver_nl80211_monitor.c | 175 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/ |
D | dhcp.c | 239 static struct sock_filter filter_instr[] = { 251 .filter = (struct sock_filter *) filter_instr,
|