Searched refs:vip_info (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_l4lb_noinline.c | 212 struct vip_meta *vip_info, in get_packet_dst() argument 216 __u32 key = RING_SIZE * vip_info->vip_num + hash % RING_SIZE; in get_packet_dst() 330 struct vip_meta *vip_info; in process_packet() local 410 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet() 411 if (!vip_info) { in process_packet() 413 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet() 414 if (!vip_info) in process_packet() 419 if (vip_info->flags & F_HASH_NO_SRC_PORT) in process_packet() 422 if (!get_packet_dst(&dst, &pckt, vip_info, is_ipv6)) in process_packet() 439 vip_num = vip_info->vip_num; in process_packet()
|
H A D | test_l4lb.c | 217 struct vip_meta *vip_info, in get_packet_dst() argument 221 __u32 key = RING_SIZE * vip_info->vip_num + hash; in get_packet_dst() 331 struct vip_meta *vip_info; in process_packet() local 411 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet() 412 if (!vip_info) { in process_packet() 414 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet() 415 if (!vip_info) in process_packet() 420 if (vip_info->flags & F_HASH_NO_SRC_PORT) in process_packet() 423 if (!get_packet_dst(&dst, &pckt, vip_info, is_ipv6)) in process_packet() 440 vip_num = vip_info->vip_num; in process_packet()
|
H A D | test_xdp_noinline.c | 510 struct vip_meta *vip_info, in get_packet_dst() argument 518 if (vip_info->flags & (1 << 2)) in get_packet_dst() 520 if (vip_info->flags & (1 << 3)) { in get_packet_dst() 528 key = 2 * vip_info->vip_num + hash % 2; in get_packet_dst() 536 if (!(vip_info->flags & (1 << 1))) { in get_packet_dst() 659 struct vip_meta *vip_info; in process_packet() local 695 if (!vip_info) { in process_packet() 698 if (!vip_info) in process_packet() 700 if (!(vip_info->flags & (1 << 4))) in process_packet() 710 if (vip_info->flags & (1 << 0)) in process_packet() [all …]
|
H A D | test_l4lb_noinline_dynptr.c | 214 struct vip_meta *vip_info, in get_packet_dst() argument 218 __u32 key = RING_SIZE * vip_info->vip_num + hash % RING_SIZE; in get_packet_dst() 335 struct vip_meta *vip_info; in process_packet() local 417 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet() 418 if (!vip_info) { in process_packet() 420 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet() 421 if (!vip_info) in process_packet() 426 if (vip_info->flags & F_HASH_NO_SRC_PORT) in process_packet() 429 if (!get_packet_dst(&dst, &pckt, vip_info, is_ipv6)) in process_packet() 446 vip_num = vip_info->vip_num; in process_packet()
|