Home
last modified time | relevance | path

Searched refs:rtm_family (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/samples/bpf/
Dxdp_router_ipv4_user.c59 static int get_route_table(int rtm_family);
97 int rtm_family; in read_route() local
119 rtm_family = rt_msg->rtm_family; in read_route()
120 if (rtm_family == AF_INET) in read_route()
156 if (rtm_family == AF_INET) { in read_route()
251 static int get_route_table(int rtm_family) in get_route_table() argument
284 req.rt.rtm_family = rtm_family; in get_route_table()
388 static int get_arp_table(int rtm_family) in get_arp_table() argument
420 req.rt.ndm_family = rtm_family; in get_arp_table()
/linux-6.1.9/net/phonet/
Dpn_netlink.c171 rtm->rtm_family = AF_PHONET; in fill_route()
/linux-6.1.9/include/uapi/linux/
Drtnetlink.h238 unsigned char rtm_family; member
/linux-6.1.9/tools/testing/selftests/net/
Dudpgso.c385 rt->rtm_family = is_ipv4 ? AF_INET : AF_INET6; in set_route_mtu()
Dipsec.c440 req.rt.rtm_family = AF_INET; in ip4_route_set()
/linux-6.1.9/net/mctp/
Droute.c1195 if ((*rtm)->rtm_family != AF_MCTP) { in mctp_route_nlparse()
1294 hdr->rtm_family = AF_MCTP; in mctp_fill_rtinfo()
/linux-6.1.9/net/mpls/
Daf_mpls.c1819 if (rtm->rtm_family != AF_MPLS) { in rtm_to_route_config()
1995 rtm->rtm_family = AF_MPLS; in mpls_dump_route()
2476 r->rtm_family = AF_MPLS; in mpls_getroute()
/linux-6.1.9/net/ipv4/
Dipmr.c2312 rtm->rtm_family = RTNL_FAMILY_IPMR; in ipmr_fill_mroute()
2660 if (rtm->rtm_family != RTNL_FAMILY_IPMR || rtm->rtm_dst_len != 32 || in rtm_to_ipmr_mfcc()
Dfib_semantics.c1787 rtm->rtm_family = AF_INET; in fib_dump_info()
Droute.c2954 r->rtm_family = AF_INET; in rt_fill_info()
/linux-6.1.9/net/ipv6/
Dip6mr.c2366 rtm->rtm_family = RTNL_FAMILY_IP6MR; in ip6mr_fill_mroute()
Droute.c5631 rtm->rtm_family = AF_INET6; in rt6_fill_node()