Home
last modified time | relevance | path

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

/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-message-rtnl.c29 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() argument
254 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 …]
/systemd-251/src/basic/linux/
Drtnetlink.h229 unsigned char rtm_family; member
/systemd-251/src/systemd/
Dsd-netlink.h156 …ute(sd_netlink *nl, sd_netlink_message **ret, uint16_t nlmsg_type, int rtm_family, unsigned char r…