Home
last modified time | relevance | path

Searched refs:nhc_gw_family (Results 1 – 9 of 9) sorted by relevance

/linux/include/trace/events/
A Dfib.h72 if (nhc->nhc_gw_family == AF_INET) {
78 } else if (nhc->nhc_gw_family == AF_INET6) {
/linux/tools/testing/selftests/bpf/progs/
A Dbpf_tracing_net.h29 #define fib_nh_gw_family nh_common.nhc_gw_family
/linux/include/net/
A Dip_fib.h85 u8 nhc_gw_family; member
118 #define fib_nh_gw_family nh_common.nhc_gw_family
A Dvxlan.h504 switch (nhc->nhc_gw_family) { in vxlan_fdb_nh_path_select()
/linux/net/ipv4/
A Dfib_semantics.c546 if (likely(nhc->nhc_gw_family == AF_INET)) in fib_detect_death()
548 else if (nhc->nhc_gw_family == AF_INET6) in fib_detect_death()
1652 switch (nhc->nhc_gw_family) { in fib_nexthop_info()
1661 if (rt_family != nhc->nhc_gw_family) { in fib_nexthop_info()
2084 if (!nhc->nhc_gw_family || nhc->nhc_scope != RT_SCOPE_LINK) in fib_select_default()
A Droute.c1559 if (nhc->nhc_gw_family && nhc->nhc_scope == RT_SCOPE_LINK) { in rt_set_nexthop()
1561 rt->rt_gw_family = nhc->nhc_gw_family; in rt_set_nexthop()
1563 if (likely(nhc->nhc_gw_family == AF_INET)) in rt_set_nexthop()
1802 gw = nhc->nhc_gw_family == AF_INET ? nhc->nhc_gw.ipv4 : 0; in __mkroute_input()
2551 !(nhc->nhc_gw_family && in __mkroute_output()
A Dnexthop.c88 nh_info->gw_family = nhi->fib_nhc.nhc_gw_family; in __nh_notifier_single_info_init()
1329 if (scope == RT_SCOPE_HOST && nhi->fib_nhc.nhc_gw_family) { in nexthop_check_scope()
A Dfib_trie.c2981 if (nhc->nhc_gw_family == AF_INET) in fib_route_seq_show()
/linux/net/core/
A Dfilter.c5477 if (likely(nhc->nhc_gw_family != AF_INET6)) { in bpf_ipv4_fib_lookup()
5478 if (nhc->nhc_gw_family) in bpf_ipv4_fib_lookup()

Completed in 45 milliseconds