Lines Matching defs:family
114 int sd_rtnl_message_route_get_family(sd_netlink_message *m, int *family) {
120 assert_return(family, -EINVAL);
124 *family = rtm->rtm_family;
300 int sd_rtnl_message_neigh_get_family(sd_netlink_message *m, int *family) {
306 assert_return(family, -EINVAL);
310 *family = ndm->ndm_family;
385 int sd_rtnl_message_link_set_family(sd_netlink_message *m, unsigned family) {
394 ifi->ifi_family = family;
469 int sd_rtnl_message_addr_get_family(sd_netlink_message *m, int *family) {
475 assert_return(family, -EINVAL);
479 *family = ifa->ifa_family;
546 int family) {
553 assert_return((nlmsg_type == RTM_GETADDR && family == AF_UNSPEC) ||
554 family == AF_INET || family == AF_INET6, -EINVAL);
567 ifa->ifa_family = family;
568 if (family == AF_INET)
570 else if (family == AF_INET6)
577 int index, int family) {
580 r = sd_rtnl_message_new_addr(rtnl, ret, RTM_NEWADDR, index, family);
634 int sd_rtnl_message_get_family(sd_netlink_message *m, int *family) {
636 assert_return(family, -EINVAL);
645 *family = ifi->ifi_family;
653 *family = rtm->rtm_family;
661 *family = ndm->ndm_family;
669 *family = ifa->ifa_family;