Home
last modified time | relevance | path

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

/linux/samples/bpf/
A Dxdp_router_ipv4_user.c39 static int get_route_table(int rtm_family);
128 int rtm_family; in read_route() local
161 rtm_family = rt_msg->rtm_family; in read_route()
162 if (rtm_family == AF_INET) in read_route()
202 if (rtm_family == AF_INET) { in read_route()
316 static int get_route_table(int rtm_family) in get_route_table() argument
349 req.rt.rtm_family = rtm_family; in get_route_table()
467 static int get_arp_table(int rtm_family) in get_arp_table() argument
499 req.rt.ndm_family = rtm_family; in get_arp_table()
/linux/net/phonet/
A Dpn_netlink.c171 rtm->rtm_family = AF_PHONET; in fill_route()
/linux/include/uapi/linux/
A Drtnetlink.h229 unsigned char rtm_family; member
/linux/net/mctp/
A Droute.c1116 if ((*rtm)->rtm_family != AF_MCTP) { in mctp_route_nlparse()
1215 hdr->rtm_family = AF_MCTP; in mctp_fill_rtinfo()
/linux/tools/testing/selftests/net/
A Dudpgso.c385 rt->rtm_family = is_ipv4 ? AF_INET : AF_INET6; in set_route_mtu()
A Dipsec.c402 req.rt.rtm_family = AF_INET; in ip4_route_set()
/linux/net/mpls/
A Daf_mpls.c1820 if (rtm->rtm_family != AF_MPLS) { in rtm_to_route_config()
1996 rtm->rtm_family = AF_MPLS; in mpls_dump_route()
2477 r->rtm_family = AF_MPLS; in mpls_getroute()
/linux/net/decnet/
A Ddn_table.c313 rtm->rtm_family = AF_DECnet; in dn_fib_dump_info()
A Ddn_route.c1559 r->rtm_family = AF_DECnet; in dn_rt_fill_info()
/linux/net/ipv4/
A Dipmr.c2309 rtm->rtm_family = RTNL_FAMILY_IPMR; in ipmr_fill_mroute()
2657 if (rtm->rtm_family != RTNL_FAMILY_IPMR || rtm->rtm_dst_len != 32 || in rtm_to_ipmr_mfcc()
A Dfib_semantics.c1787 rtm->rtm_family = AF_INET; in fib_dump_info()
A Droute.c2931 r->rtm_family = AF_INET; in rt_fill_info()
/linux/net/ipv6/
A Dip6mr.c2338 rtm->rtm_family = RTNL_FAMILY_IP6MR; in ip6mr_fill_mroute()
A Droute.c5638 rtm->rtm_family = AF_INET6; in rt6_fill_node()

Completed in 57 milliseconds