/external/avahi/avahi-core/ |
D | iface-linux.c | 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() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | netlink.c | 24 void (*cb)(void *ctx, struct ifinfomsg *ifi, in netlink_receive_link() 28 if (cb == NULL || NLMSG_PAYLOAD(h, 0) < sizeof(struct ifinfomsg)) in netlink_receive_link() 31 (u8 *) NLMSG_DATA(h) + NLMSG_ALIGN(sizeof(struct ifinfomsg)), in netlink_receive_link() 32 NLMSG_PAYLOAD(h, sizeof(struct ifinfomsg))); in netlink_receive_link() 174 struct ifinfomsg ifinfo; in netlink_send_oper_ifla() 183 req.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in netlink_send_oper_ifla()
|
D | netlink.h | 13 struct ifinfomsg; 17 void (*newlink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf, 19 void (*dellink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf,
|
D | priv_netlink.h | 93 struct ifinfomsg struct
|
/external/iproute2/ip/ |
D | iptoken.c | 50 struct ifinfomsg *ifi = NLMSG_DATA(n); in print_token() 129 struct ifinfomsg ifi; in iptoken_set() 139 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in iptoken_set()
|
D | link_veth.c | 42 struct ifinfomsg *ifm, *peer_ifm; in veth_parse_opt() 59 hdr->nlmsg_len += sizeof(struct ifinfomsg); in veth_parse_opt()
|
D | link_vti6.c | 47 struct ifinfomsg i; in vti6_parse_opt() 50 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1); in vti6_parse_opt()
|
D | link_vti.c | 51 struct ifinfomsg i; in vti_parse_opt() 54 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1); in vti_parse_opt()
|
D | link_ip6tnl.c | 63 struct ifinfomsg i; in ip6tunnel_parse_opt() 66 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1); in ip6tunnel_parse_opt()
|
D | link_gre6.c | 65 struct ifinfomsg i; in gre_parse_opt() 68 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1); in gre_parse_opt()
|
D | link_iptnl.c | 58 struct ifinfomsg i; in iptunnel_parse_opt() 61 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1); in iptunnel_parse_opt()
|
D | link_gre.c | 55 struct ifinfomsg i; in gre_parse_opt() 58 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1); in gre_parse_opt()
|
D | iplink.c | 207 struct ifinfomsg i; in iplink_have_newlink() 214 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in iplink_have_newlink() 236 struct ifinfomsg i; 685 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in iplink_modify() 832 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in iplink_get()
|
/external/libnl/include/linux/ |
D | if_link.h | 90 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 91 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
/external/iproute2/bridge/ |
D | vlan.c | 30 struct ifinfomsg ifm; in vlan_modify() 43 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in vlan_modify() 145 struct ifinfomsg *ifm = NLMSG_DATA(n); in print_vlan()
|
D | fdb.c | 175 struct ifinfomsg ifm; in fdb_show() 181 int msg_size = sizeof(struct ifinfomsg); in fdb_show() 184 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in fdb_show()
|
D | link.c | 104 struct ifinfomsg *ifi = NLMSG_DATA(n); in print_linkinfo() 255 struct ifinfomsg ifm; in brlink_modify() 275 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in brlink_modify()
|
/external/avahi/avahi-autoipd/ |
D | iface-linux.c | 43 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 108 struct ifinfomsg *ifi; in process_nlmsg() 252 struct ifinfomsg *ifi; in iface_get_initial_state()
|
/external/android-clat/ |
D | netlink_msg.h | 23 struct nl_msg *nlmsg_alloc_ifinfo(uint16_t type, uint16_t flags, struct ifinfomsg *ifi);
|
D | netlink_msg.c | 93 struct nl_msg *nlmsg_alloc_ifinfo(uint16_t type, uint16_t flags, struct ifinfomsg *ifi) { in nlmsg_alloc_ifinfo()
|
D | setif.c | 103 struct ifinfomsg ifi; in if_up()
|
/external/iproute2/include/ |
D | libnetlink.h | 170 ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 173 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
/external/kernel-headers/original/uapi/linux/ |
D | if_link.h | 160 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 161 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
/external/iproute2/include/linux/ |
D | if_link.h | 159 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 160 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
/external/iproute2/lib/ |
D | ll_map.c | 86 struct ifinfomsg *ifi = NLMSG_DATA(n); in ll_remember_index()
|