Lines Matching refs:iface
38 char *iface;
207 if (!(toys.optflags & FLAG_I)) TT.iface = "eth0";
211 xstrncpy(ifr.ifr_name, TT.iface, IFNAMSIZ);
212 get_interface(TT.iface, &if_index, NULL, NULL);
217 error_exit("Interface \"%s\" is down", TT.iface);
220 xprintf("Interface \"%s\" is not ARPable\n", TT.iface);
238 if (setsockopt(p_fd, SOL_SOCKET, SO_BINDTODEVICE, TT.iface,
239 strlen(TT.iface))) perror_exit("setsockopt");
252 get_interface(TT.iface, NULL, &oip, NULL);
271 xprintf(" from %s via %s\n", inet_ntoa(src_addr), TT.iface);