Home
last modified time | relevance | path

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

/Linux-v6.1/include/uapi/linux/
Dnexthop.h8 unsigned char nh_family; member
Dbpf.h6748 __u32 nh_family; member
/Linux-v6.1/net/ipv4/
Dnexthop.c707 nhm->nh_family = AF_UNSPEC; in nh_fill_node()
727 nhm->nh_family = nhi->family; in nh_fill_node()
930 nhm->nh_family = AF_UNSPEC; in nh_fill_res_bucket()
1021 static int nh_check_attr_fdb_group(struct nexthop *nh, u8 *nh_family, in nh_check_attr_fdb_group() argument
1033 if (*nh_family == AF_UNSPEC) { in nh_check_attr_fdb_group()
1034 *nh_family = nhi->family; in nh_check_attr_fdb_group()
1035 } else if (*nh_family != nhi->family) { in nh_check_attr_fdb_group()
1048 u8 nh_family = AF_UNSPEC; in nh_check_attr_group() local
1095 if (nhg_fdb && nh_check_attr_fdb_group(nh, &nh_family, extack)) in nh_check_attr_group()
2601 nhi->family = cfg->nh_family; in nexthop_create()
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dtest_tc_neigh_fib.c120 nh_params.nh_family = fib_params.family; in tc_redir()
/Linux-v6.1/include/net/
Dnexthop.h27 u8 nh_family; member
/Linux-v6.1/tools/include/uapi/linux/
Dbpf.h6748 __u32 nh_family; member
/Linux-v6.1/include/linux/
Dfilter.h638 u32 nh_family; member
/Linux-v6.1/drivers/net/vxlan/
Dvxlan_core.c208 int nh_family; in vxlan_fdb_info() local
223 nh_family = nexthop_get_family(nh); in vxlan_fdb_info()
233 ndm->ndm_family = nh_family; in vxlan_fdb_info()
/Linux-v6.1/net/core/
Dfilter.c2241 } else if (nh->nh_family != AF_INET6) { in __bpf_redirect_neigh_v6()
2294 } else if (nh->nh_family == AF_INET6) { in bpf_out_neigh_v4()
2297 } else if (nh->nh_family == AF_INET) { in bpf_out_neigh_v4()