Searched refs:bpf_stmt (Results 1 – 1 of 1) sorted by relevance
/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() function 260 … bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(struct udev_monitor_netlink_header, magic)); in udev_monitor_filter_update() 264 bpf_stmt(ins, &i, BPF_RET|BPF_K, 0xffffffff); in udev_monitor_filter_update() 281 …bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(struct udev_monitor_netlink_header, filter_tag_bl… in udev_monitor_filter_update() 283 bpf_stmt(ins, &i, BPF_ALU|BPF_AND|BPF_K, tag_bloom_hi); in udev_monitor_filter_update() 288 …bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(struct udev_monitor_netlink_header, filter_tag_bl… in udev_monitor_filter_update() 290 bpf_stmt(ins, &i, BPF_ALU|BPF_AND|BPF_K, tag_bloom_lo); in udev_monitor_filter_update() 297 bpf_stmt(ins, &i, BPF_RET|BPF_K, 0); in udev_monitor_filter_update() 306 …bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(struct udev_monitor_netlink_header, filter_subsys… in udev_monitor_filter_update() 315 …bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(struct udev_monitor_netlink_header, filter_devtyp… in udev_monitor_filter_update() [all …]
|