Home | History | Annotate | Download | only in pending

Lines Matching full:iface

14     usage: arping [-fqbDUA] [-c CNT] [-w TIMEOUT] [-I IFACE] [-s SRC_IP] DST_IP
26 -I IFACE Interface to use (default eth0)
38 char *iface;
208 if (!(toys.optflags & FLAG_I)) TT.iface = "eth0";
212 xstrncpy(ifr.ifr_name, TT.iface, IFNAMSIZ);
213 get_interface(TT.iface, &if_index, NULL, NULL);
218 error_exit("Interface \"%s\" is down", TT.iface);
221 xprintf("Interface \"%s\" is not ARPable\n", TT.iface);
239 if (setsockopt(p_fd, SOL_SOCKET, SO_BINDTODEVICE, TT.iface,
240 strlen(TT.iface))) perror_exit("setsockopt");
255 get_interface(TT.iface, NULL, &oip, NULL);
275 xprintf(" from %s via %s\n", inet_ntoa(src_addr), TT.iface);