Lines Matching defs:iface
70 discover_interfaces(struct interface_info *iface)
85 if (strcmp(iface->name, ifa->ifa_name))
96 iface->index = foo->sdl_index;
97 iface->hw_address.hlen = foo->sdl_alen;
98 iface->hw_address.htype = HTYPE_ETHER; /* XXX */
99 memcpy(iface->hw_address.haddr,
107 if (!iface->ifp) {
114 iface->ifp = tif;
115 iface->primary_address = foo.sin_addr;
122 if (!iface->ifp)
123 error("%s: not found", iface->name);
126 if_register_receive(iface);
127 if_register_send(iface);
128 add_protocol(iface->name, iface->rfdesc, got_one, iface);