Searched refs:lifn (Results 1 – 4 of 4) sorted by relevance
/external/valgrind/memcheck/tests/solaris/ |
D | ioctl.c | 53 struct lifnum lifn; in test_SIOCGLIFCONF() local 54 lifn.lifn_family = AF_INET; in test_SIOCGLIFCONF() 55 lifn.lifn_flags = 0; in test_SIOCGLIFCONF() 56 if (ioctl(fd, SIOCGLIFNUM, &lifn) < 0) in test_SIOCGLIFCONF() 62 lifc.lifc_len = (lifn.lifn_count + 1) * sizeof(struct lifreq); in test_SIOCGLIFCONF() 63 lifc.lifc_buf = malloc((lifn.lifn_count + 1) * sizeof(struct lifreq)); in test_SIOCGLIFCONF() 76 if (strcmp(lifc.lifc_req[lifn.lifn_count].lifr_name, "") != 0) in test_SIOCGLIFCONF()
|
D | scalar_ioctl.c | 380 struct lifnum lifn; in sys_ioctl_SIOCGLIFNUM() local 382 lifn.lifn_family = x0; in sys_ioctl_SIOCGLIFNUM() 383 lifn.lifn_flags = x0; in sys_ioctl_SIOCGLIFNUM() 386 SY(SYS_ioctl, x0 - 1, x0 + SIOCGLIFNUM, &lifn + x0); FAIL; in sys_ioctl_SIOCGLIFNUM()
|
/external/avahi/avahi-core/ |
D | iface-pfroute.c | 502 struct lifnum lifn; in avahi_interface_monitor_sync() 511 lifn.lifn_family = AF_UNSPEC; in avahi_interface_monitor_sync() 512 lifn.lifn_flags = 0; in avahi_interface_monitor_sync() 513 if (ioctl(sockfd, SIOCGLIFNUM, &lifn) < 0) { in avahi_interface_monitor_sync() 517 lifc.lifc_len = lifn.lifn_count * sizeof (struct lifreq); in avahi_interface_monitor_sync() 531 if_add_interface(lifreq, m, sockfd, lifn.lifn_count); in avahi_interface_monitor_sync()
|
/external/ppp/pppd/ |
D | sys-solaris.c | 292 struct lifnum lifn; in get_first_ethernet() local 308 lifn.lifn_family = AF_UNSPEC; in get_first_ethernet() 309 lifn.lifn_flags = LIFC_NOXMIT; in get_first_ethernet() 310 if (ioctl(fd, SIOCGLIFNUM, &lifn) < 0) { in get_first_ethernet() 316 num_ifs = lifn.lifn_count; in get_first_ethernet()
|