Home
last modified time | relevance | path

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

/linux/samples/bpf/
H A 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/net/phonet/
H A Dpn_netlink.c184 rtm->rtm_family = AF_PHONET; in fill_route()
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dnetlink.c262 req.rt.rtm_family = family; in __ip_route_add()
/linux/net/mctp/
H A Droute.c1294 if ((*rtm)->rtm_family != AF_MCTP) { in mctp_route_nlparse()
1390 hdr->rtm_family = AF_MCTP; in mctp_fill_rtinfo()
/linux/net/mpls/
H A Daf_mpls.c1807 if (rtm->rtm_family != AF_MPLS) { in rtm_to_route_config()
1983 rtm->rtm_family = AF_MPLS; in mpls_dump_route()
2465 r->rtm_family = AF_MPLS; in mpls_getroute()
/linux/net/ipv4/
H A Dipmr.c2356 rtm->rtm_family = RTNL_FAMILY_IPMR; in ipmr_fill_mroute()
2705 if (rtm->rtm_family != RTNL_FAMILY_IPMR || rtm->rtm_dst_len != 32 || in rtm_to_ipmr_mfcc()
H A Dfib_semantics.c1768 rtm->rtm_family = AF_INET; in fib_dump_info()
H A Droute.c2944 r->rtm_family = AF_INET; in rt_fill_info()
/linux/net/ipv6/
H A Dip6mr.c2386 rtm->rtm_family = RTNL_FAMILY_IP6MR; in ip6mr_fill_mroute()
H A Droute.c5659 rtm->rtm_family = AF_INET6; in rt6_fill_node()