Searched refs:rtm_family (Results 1 – 3 of 3) sorted by relevance
29 if ((rtm->rtm_family == AF_INET && prefixlen > 32) || in sd_rtnl_message_route_set_dst_prefixlen()30 (rtm->rtm_family == AF_INET6 && prefixlen > 128)) in sd_rtnl_message_route_set_dst_prefixlen()47 if ((rtm->rtm_family == AF_INET && prefixlen > 32) || in sd_rtnl_message_route_set_src_prefixlen()48 (rtm->rtm_family == AF_INET6 && prefixlen > 128)) in sd_rtnl_message_route_set_src_prefixlen()123 *family = rtm->rtm_family; in sd_rtnl_message_route_get_family()248 uint16_t nlmsg_type, int rtm_family, in sd_rtnl_message_new_route() argument254 assert_return((nlmsg_type == RTM_GETROUTE && rtm_family == AF_UNSPEC) || in sd_rtnl_message_new_route()255 IN_SET(rtm_family, AF_INET, AF_INET6), -EINVAL); in sd_rtnl_message_new_route()267 rtm->rtm_family = rtm_family; in sd_rtnl_message_new_route()767 *family = rtm->rtm_family; in sd_rtnl_message_get_family()[all …]
229 unsigned char rtm_family; member
156 …ute(sd_netlink *nl, sd_netlink_message **ret, uint16_t nlmsg_type, int rtm_family, unsigned char r…