Lines Matching refs:ifinfomsg
37 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
79 struct ifinfomsg *ifinfomsg = NLMSG_DATA(n); in netlink_callback() local
85 if (ifinfomsg->ifi_family != AF_UNSPEC) in netlink_callback()
93 if (!(hw = avahi_interface_monitor_get_hw_interface(m, ifinfomsg->ifi_index))) in netlink_callback()
100 if (!(hw = avahi_hw_interface_new(m, (AvahiIfIndex) ifinfomsg->ifi_index))) in netlink_callback()
105 (ifinfomsg->ifi_flags & IFF_UP) && in netlink_callback()
106 (!m->server->config.use_iff_running || (ifinfomsg->ifi_flags & IFF_RUNNING)) && in netlink_callback()
107 !(ifinfomsg->ifi_flags & IFF_LOOPBACK) && in netlink_callback()
108 (ifinfomsg->ifi_flags & IFF_MULTICAST) && in netlink_callback()
109 (m->server->config.allow_point_to_point || !(ifinfomsg->ifi_flags & IFF_POINTOPOINT)); in netlink_callback()
112 l = NLMSG_PAYLOAD(n, sizeof(struct ifinfomsg)); in netlink_callback()
113 a = IFLA_RTA(ifinfomsg); in netlink_callback()
162 struct ifinfomsg *ifinfomsg = NLMSG_DATA(n); in netlink_callback() local
166 if (ifinfomsg->ifi_family != AF_UNSPEC) in netlink_callback()
170 … if (!(hw = avahi_interface_monitor_get_hw_interface(m, (AvahiIfIndex) ifinfomsg->ifi_index))) in netlink_callback()