Searched refs:ifrnetmask (Results 1 - 2 of 2) sorted by relevance
/external/libpcap/ |
H A D | fad-gifc.c | 147 struct ifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; local 259 strncpy(ifrnetmask.ifr_name, ifrp->ifr_name, 260 sizeof(ifrnetmask.ifr_name)); 261 memcpy(&ifrnetmask.ifr_addr, &ifrp->ifr_addr, 262 sizeof(ifrnetmask.ifr_addr)); 263 if (ioctl(fd, SIOCGIFNETMASK, (char *)&ifrnetmask) < 0) { 273 (int)sizeof(ifrnetmask.ifr_name), 274 ifrnetmask.ifr_name, 280 netmask = &ifrnetmask.ifr_addr;
|
H A D | fad-glifc.c | 90 struct lifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; local 225 strncpy(ifrnetmask.lifr_name, ifrp->lifr_name, 226 sizeof(ifrnetmask.lifr_name)); 227 memcpy(&ifrnetmask.lifr_addr, &ifrp->lifr_addr, 228 sizeof(ifrnetmask.lifr_addr)); 229 if (ioctl(fd, SIOCGLIFNETMASK, (char *)&ifrnetmask) < 0) { 238 (int)sizeof(ifrnetmask.lifr_name), 239 ifrnetmask.lifr_name, 245 netmask = (struct sockaddr *)&ifrnetmask.lifr_addr;
|
Completed in 119 milliseconds