Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/
H A Dnexthop.h8 unsigned char nh_family; member
H A Dbpf.h7069 __u32 nh_family; member
/openbmc/linux/net/ipv4/
H A Dnexthop.c708 nhm->nh_family = AF_UNSPEC; in nh_fill_node()
728 nhm->nh_family = nhi->family; in nh_fill_node()
931 nhm->nh_family = AF_UNSPEC; in nh_fill_res_bucket()
1022 static int nh_check_attr_fdb_group(struct nexthop *nh, u8 *nh_family, in nh_check_attr_fdb_group() argument
1034 if (*nh_family == AF_UNSPEC) { in nh_check_attr_fdb_group()
1035 *nh_family = nhi->family; in nh_check_attr_fdb_group()
1036 } else if (*nh_family != nhi->family) { in nh_check_attr_fdb_group()
1049 u8 nh_family = AF_UNSPEC; in nh_check_attr_group() local
1096 if (nhg_fdb && nh_check_attr_fdb_group(nh, &nh_family, extack)) in nh_check_attr_group()
2625 nhi->family = cfg->nh_family; in nexthop_create()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_neigh_fib.c120 nh_params.nh_family = fib_params.family; in tc_redir()
/openbmc/linux/include/net/
H A Dnexthop.h27 u8 nh_family; member
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h7072 __u32 nh_family; member
/openbmc/linux/include/linux/
H A Dfilter.h650 u32 nh_family; member
/openbmc/linux/drivers/net/vxlan/
H A Dvxlan_core.c161 int nh_family; in vxlan_fdb_info() local
176 nh_family = nexthop_get_family(nh); in vxlan_fdb_info()
186 ndm->ndm_family = nh_family; in vxlan_fdb_info()
/openbmc/linux/net/core/
H A Dfilter.c2268 } else if (nh->nh_family != AF_INET6) { in __bpf_redirect_neigh_v6()
2321 } else if (nh->nh_family == AF_INET6) { in bpf_out_neigh_v4()
2324 } else if (nh->nh_family == AF_INET) { in bpf_out_neigh_v4()