Lines Matching refs:device

222 	(void)strncpy(sr.sr_ifname, p->opt.device, sizeof(sr.sr_ifname));
226 * means "there's no such device" and a particular bind
227 * error that means "that device doesn't support snoop";
229 * meaning "snoop doesn't know about that device".
247 * XXX hack - map device name to link layer type
249 if (strncmp("et", p->opt.device, 2) == 0 || /* Challenge 10 Mbit */
250 strncmp("ec", p->opt.device, 2) == 0 || /* Indigo/Indy 10 Mbit,
252 strncmp("ef", p->opt.device, 2) == 0 || /* O200/2000 10/100 Mbit */
253 strncmp("eg", p->opt.device, 2) == 0 || /* Octane/O2xxx/O3xxx Gigabit */
254 strncmp("gfe", p->opt.device, 3) == 0 || /* GIO 100 Mbit */
255 strncmp("fxp", p->opt.device, 3) == 0 || /* Challenge VME Enet */
256 strncmp("ep", p->opt.device, 2) == 0 || /* Challenge 8x10 Mbit EPLEX */
257 strncmp("vfe", p->opt.device, 3) == 0 || /* Challenge VME 100Mbit */
258 strncmp("fa", p->opt.device, 2) == 0 ||
259 strncmp("qaa", p->opt.device, 3) == 0 ||
260 strncmp("cip", p->opt.device, 3) == 0 ||
261 strncmp("el", p->opt.device, 2) == 0) {
294 } else if (strncmp("ipg", p->opt.device, 3) == 0 ||
295 strncmp("rns", p->opt.device, 3) == 0 || /* O2/200/2000 FDDI */
296 strncmp("xpi", p->opt.device, 3) == 0) {
300 } else if (strncmp("ppp", p->opt.device, 3) == 0) {
303 } else if (strncmp("qfa", p->opt.device, 3) == 0) {
306 } else if (strncmp("pl", p->opt.device, 2) == 0) {
309 } else if (strncmp("lo", p->opt.device, 2) == 0) {
344 (void)strncpy(ifr.ifr_name, p->opt.device, sizeof(ifr.ifr_name));
420 pcap_create_interface(const char *device _U_, char *ebuf)
433 * XXX - there's probably a particular bind error that means "that device