Home
last modified time | relevance | path

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

/linux-6.12.1/include/uapi/linux/
Dnexthop.h8 unsigned char nh_family; member
Dbpf.h7239 __u32 nh_family; member
/linux-6.12.1/net/ipv4/
Dnexthop.c932 nhm->nh_family = AF_UNSPEC; in nh_fill_node()
954 nhm->nh_family = nhi->family; in nh_fill_node()
1158 nhm->nh_family = AF_UNSPEC; in nh_fill_res_bucket()
1248 static int nh_check_attr_fdb_group(struct nexthop *nh, u8 *nh_family, in nh_check_attr_fdb_group() argument
1260 if (*nh_family == AF_UNSPEC) { in nh_check_attr_fdb_group()
1261 *nh_family = nhi->family; in nh_check_attr_fdb_group()
1262 } else if (*nh_family != nhi->family) { in nh_check_attr_fdb_group()
1275 u8 nh_family = AF_UNSPEC; in nh_check_attr_group() local
1325 if (nhg_fdb && nh_check_attr_fdb_group(nh, &nh_family, extack)) in nh_check_attr_group()
2876 nhi->family = cfg->nh_family; in nexthop_create()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_tc_neigh_fib.c120 nh_params.nh_family = fib_params.family; in tc_redir()
/linux-6.12.1/include/net/
Dnexthop.h27 u8 nh_family; member
/linux-6.12.1/tools/include/uapi/linux/
Dbpf.h7239 __u32 nh_family; member
/linux-6.12.1/drivers/net/vxlan/
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()
/linux-6.12.1/include/linux/
Dfilter.h739 u32 nh_family; member
/linux-6.12.1/net/core/
Dfilter.c2284 } else if (nh->nh_family != AF_INET6) { in __bpf_redirect_neigh_v6()
2336 } else if (nh->nh_family == AF_INET6) { in bpf_out_neigh_v4()
2339 } else if (nh->nh_family == AF_INET) { in bpf_out_neigh_v4()