HomeSort by relevance Sort by last modified time
    Searched refs:ifrnetmask (Results 1 - 2 of 2) sorted by null

  /external/libpcap/
fad-gifc.c 282 struct ifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; local
397 strncpy(ifrnetmask.ifr_name, ifrp->ifr_name,
398 sizeof(ifrnetmask.ifr_name));
399 memcpy(&ifrnetmask.ifr_addr, &ifrp->ifr_addr,
400 sizeof(ifrnetmask.ifr_addr));
401 if (ioctl(fd, SIOCGIFNETMASK, (char *)&ifrnetmask) < 0) {
411 (int)sizeof(ifrnetmask.ifr_name),
412 ifrnetmask.ifr_name,
418 netmask = &ifrnetmask.ifr_addr;
fad-glifc.c 95 struct lifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; local
233 strncpy(ifrnetmask.lifr_name, ifrp->lifr_name,
234 sizeof(ifrnetmask.lifr_name));
235 memcpy(&ifrnetmask.lifr_addr, &ifrp->lifr_addr,
236 sizeof(ifrnetmask.lifr_addr));
237 if (ioctl(fd, SIOCGLIFNETMASK, (char *)&ifrnetmask) < 0) {
246 (int)sizeof(ifrnetmask.lifr_name),
247 ifrnetmask.lifr_name,
253 netmask = (struct sockaddr *)&ifrnetmask.lifr_addr;

Completed in 507 milliseconds