Home | History | Annotate | Download | only in rp-pppoe

Lines Matching refs:ifName

87 * ifname -- name of interface
96 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr)
136 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
138 error("Can't get hardware address for %s: %m", ifname);
145 warn("Interface %.16s is not Ethernet", ifname);
150 ifname);
155 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
157 error("Can't get MTU for %s: %m", ifname);
160 ifname, ifr.ifr_mtu, ETH_DATA_LEN);
169 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
171 error("Could not get interface index for %s: %m", ifname);
178 strcpy(sa.sa_data, ifname);
183 error("Failed to bind to interface %s: %m", ifname);
215 strcpy(sa.sa_data, conn->ifName);