Searched refs:fib_params (Results 1 – 4 of 4) sorted by relevance
38 fib_params->family = AF_INET; in fill_fib_params_v4()39 fib_params->tos = ip4h->tos; in fill_fib_params_v4()41 fib_params->sport = 0; in fill_fib_params_v4()42 fib_params->dport = 0; in fill_fib_params_v4()44 fib_params->ipv4_src = ip4h->saddr; in fill_fib_params_v4()45 fib_params->ipv4_dst = ip4h->daddr; in fill_fib_params_v4()66 fib_params->family = AF_INET6; in fill_fib_params_v6()67 fib_params->flowinfo = 0; in fill_fib_params_v6()69 fib_params->sport = 0; in fill_fib_params_v6()70 fib_params->dport = 0; in fill_fib_params_v6()[all …]
9 struct bpf_fib_lookup fib_params = {}; variable16 fib_lookup_ret = bpf_fib_lookup(skb, &fib_params, sizeof(fib_params), in fib_lookup()
47 struct bpf_fib_lookup fib_params; in xdp_fwd_flags() local59 __builtin_memset(&fib_params, 0, sizeof(fib_params)); in xdp_fwd_flags()71 fib_params.family = AF_INET; in xdp_fwd_flags()72 fib_params.tos = iph->tos; in xdp_fwd_flags()74 fib_params.sport = 0; in xdp_fwd_flags()75 fib_params.dport = 0; in xdp_fwd_flags()77 fib_params.ipv4_src = iph->saddr; in xdp_fwd_flags()90 fib_params.family = AF_INET6; in xdp_fwd_flags()93 fib_params.sport = 0; in xdp_fwd_flags()94 fib_params.dport = 0; in xdp_fwd_flags()[all …]
122 struct bpf_fib_lookup *fib_params; in test_fib_lookup() local154 fib_params = &skel->bss->fib_params; in test_fib_lookup()159 if (set_lookup_params(fib_params, tests[i].daddr)) in test_fib_lookup()172 ret = memcmp(tests[i].dmac, fib_params->dmac, sizeof(tests[i].dmac)); in test_fib_lookup()177 mac_str(actual, fib_params->dmac); in test_fib_lookup()
Completed in 13 milliseconds