Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/ipv4/
H A Dnexthop.c238 nhm->nh_family = AF_UNSPEC; in nh_fill_node()
258 nhm->nh_family = nhi->family; in nh_fill_node()
415 static int nh_check_attr_fdb_group(struct nexthop *nh, u8 *nh_family, in nh_check_attr_fdb_group() argument
427 if (*nh_family == AF_UNSPEC) { in nh_check_attr_fdb_group()
428 *nh_family = nhi->family; in nh_check_attr_fdb_group()
429 } else if (*nh_family != nhi->family) { in nh_check_attr_fdb_group()
441 u8 nh_family = AF_UNSPEC; in nh_check_attr_group() local
488 if (nhg_fdb && nh_check_attr_fdb_group(nh, &nh_family, extack)) in nh_check_attr_group()
1392 nhi->family = cfg->nh_family; in nexthop_create()
1403 switch (cfg->nh_family) { in nexthop_create()
[all …]
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dnexthop.h8 unsigned char nh_family; member
H A Dbpf.h4916 __u32 nh_family; member
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_tc_neigh_fib.c119 nh_params.nh_family = fib_params.family; in tc_redir()
/OK3568_Linux_fs/kernel/include/net/
H A Dnexthop.h27 u8 nh_family; member
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbpf.h4916 __u32 nh_family; member
/OK3568_Linux_fs/kernel/include/linux/
H A Dfilter.h626 u32 nh_family; member
/OK3568_Linux_fs/kernel/drivers/net/
H A Dvxlan.c267 int nh_family; in vxlan_fdb_info() local
282 nh_family = nexthop_get_family(nh); in vxlan_fdb_info()
292 ndm->ndm_family = nh_family; in vxlan_fdb_info()
/OK3568_Linux_fs/kernel/net/core/
H A Dfilter.c2251 } else if (nh->nh_family != AF_INET6) { in __bpf_redirect_neigh_v6()
2312 } else if (nh->nh_family == AF_INET6) { in bpf_out_neigh_v4()
2315 } else if (nh->nh_family == AF_INET) { in bpf_out_neigh_v4()