Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/phosphor-networkd/src/
H A Drtnetlink.cpp124 switch (rtm.rtm_family) in gatewayFromRtm()
/openbmc/linux/net/phonet/
H A Dpn_netlink.c171 rtm->rtm_family = AF_PHONET; in fill_route()
/openbmc/linux/include/uapi/linux/
H A Drtnetlink.h238 unsigned char rtm_family; member
/openbmc/linux/net/mctp/
H A Droute.c1230 if ((*rtm)->rtm_family != AF_MCTP) { in mctp_route_nlparse()
1326 hdr->rtm_family = AF_MCTP; in mctp_fill_rtinfo()
/openbmc/linux/tools/testing/selftests/net/
H A Dudpgso.c385 rt->rtm_family = is_ipv4 ? AF_INET : AF_INET6; in set_route_mtu()
H A Dipsec.c440 req.rt.rtm_family = AF_INET; in ip4_route_set()
/openbmc/linux/net/mpls/
H A Daf_mpls.c1809 if (rtm->rtm_family != AF_MPLS) { in rtm_to_route_config()
1985 rtm->rtm_family = AF_MPLS; in mpls_dump_route()
2466 r->rtm_family = AF_MPLS; in mpls_getroute()
/openbmc/linux/net/ipv4/
H A Dipmr.c2341 rtm->rtm_family = RTNL_FAMILY_IPMR; in ipmr_fill_mroute()
2689 if (rtm->rtm_family != RTNL_FAMILY_IPMR || rtm->rtm_dst_len != 32 || in rtm_to_ipmr_mfcc()
H A Dfib_semantics.c1793 rtm->rtm_family = AF_INET; in fib_dump_info()
H A Droute.c2949 r->rtm_family = AF_INET; in rt_fill_info()
/openbmc/linux/net/ipv6/
H A Dip6mr.c2372 rtm->rtm_family = RTNL_FAMILY_IP6MR; in ip6mr_fill_mroute()
H A Droute.c5638 rtm->rtm_family = AF_INET6; in rt6_fill_node()