Lines Matching defs:ifindex
177 int ifindex;
281 static int get_interface( char *interface, int *ifindex, uint32_t *oip, uint8_t *mac)
300 if (ifindex) {
303 *ifindex = req.ifr_ifindex;
584 dbg("Opening raw socket on ifindex %d\n", state->ifindex);
595 sock.sll_ifindex = state->ifindex;
736 dest_sll.sll_ifindex = state->ifindex;
1307 if (get_interface(state->iface, &state->ifindex, NULL, state->macaddr))
1335 if (get_interface(state->iface, &state->ifindex, NULL, state->macaddr))