Searched refs:BPF_W (Results 1 – 8 of 8) sorted by relevance
/systemd-251/src/libsystemd-network/ |
D | arp-util.c | 19 …BPF_STMT(BPF_LD + BPF_W + BPF_LEN, 0), /* A <- packet leng… in arp_update_filter() 40 …BPF_STMT(BPF_LD + BPF_W + BPF_ABS, offsetof(struct ether_arp, arp_sha)), /* A <- 4 bytes of … in arp_update_filter() 48 … BPF_STMT(BPF_LD + BPF_W + BPF_ABS, offsetof(struct ether_arp, arp_spa)), /* A <- SPA */ in arp_update_filter() 51 … BPF_STMT(BPF_LD + BPF_W + BPF_ABS, offsetof(struct ether_arp, arp_tpa)), /* A <- TPA */ in arp_update_filter()
|
D | dhcp-network.c | 29 … BPF_STMT(BPF_LD + BPF_W + BPF_LEN, 0), /* A <- packet length */ in _bind_raw_socket() 52 …BPF_STMT(BPF_LD + BPF_W + BPF_ABS, offsetof(DHCPPacket, dhcp.xid)), /* A <- client identifier */ in _bind_raw_socket() 63 …BPF_STMT(BPF_LD + BPF_W + BPF_ABS, offsetof(DHCPPacket, dhcp.chaddr)), /* A <- 4 b… in _bind_raw_socket() 71 …BPF_STMT(BPF_LD + BPF_W + BPF_ABS, offsetof(DHCPPacket, dhcp.magic)), /* A <- DHCP magic cookie */ in _bind_raw_socket()
|
D | lldp-network.c | 13 …BPF_STMT(BPF_LD + BPF_W + BPF_ABS, offsetof(struct ethhdr, h_dest)), /* A <- 4 bytes of desti… in lldp_network_bind_raw_socket()
|
/systemd-251/src/core/ |
D | bpf-devices.c | 169 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, in bpf_devices_cgroup_init() 174 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, in bpf_devices_cgroup_init() 179 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_1, in bpf_devices_cgroup_init() 183 BPF_LDX_MEM(BPF_W, BPF_REG_5, BPF_REG_1, in bpf_devices_cgroup_init()
|
D | bpf-firewall.c | 109 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, addr_size * 8), in add_lookup_instructions() 169 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, offsetof(struct __sk_buff, protocol)), in bpf_firewall_compile_bpf() 288 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4), /* *(u32 *)(fp - 4) = r0 */ in bpf_firewall_compile_bpf() 299 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4), /* *(u32 *)(fp - 4) = r0 */ in bpf_firewall_compile_bpf() 305 … BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_6, offsetof(struct __sk_buff, len)), /* r1 = skb->len */ in bpf_firewall_compile_bpf()
|
/systemd-251/src/libsystemd/sd-device/ |
D | device-monitor.c | 667 bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(monitor_netlink_header, magic)); in sd_device_monitor_filter_update() 683 … bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(monitor_netlink_header, filter_tag_bloom_hi)); in sd_device_monitor_filter_update() 690 … bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(monitor_netlink_header, filter_tag_bloom_lo)); in sd_device_monitor_filter_update() 708 … bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(monitor_netlink_header, filter_subsystem_hash)); in sd_device_monitor_filter_update() 716 … bpf_stmt(ins, &i, BPF_LD|BPF_W|BPF_ABS, offsetof(monitor_netlink_header, filter_devtype_hash)); in sd_device_monitor_filter_update()
|
/systemd-251/src/shared/linux/ |
D | bpf_common.h | 18 #define BPF_W 0x00 /* 32-bit */ macro
|
/systemd-251/src/network/ |
D | networkd-manager.c | 253 …BPF_STMT(BPF_LD + BPF_W + BPF_LEN, 0), /* A <- packet length … in manager_setup_rtnl_filter() 266 …BPF_STMT(BPF_LD + BPF_W + BPF_LEN, 0), /* A <- packet length … in manager_setup_rtnl_filter()
|