Home
last modified time | relevance | path

Searched refs:ifconf (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/sbin/netstrategy/
H A Dnetstrategy.c168 struct lifconf ifconf; in get_first_interface() local
183 ifconf.lifc_family = AF_UNSPEC; in get_first_interface()
184 ifconf.lifc_flags = 0; in get_first_interface()
185 ifconf.lifc_len = ifnum.lifn_count * sizeof (struct lifreq); in get_first_interface()
186 ifconf.lifc_buf = alloca(ifconf.lifc_len); in get_first_interface()
188 if (ioctl(s4, SIOCGLIFCONF, &ifconf) < 0) { in get_first_interface()
194 for (ifr = ifconf.lifc_req; ifr < &ifconf.lifc_req[ifconf.lifc_len / in get_first_interface()
195 sizeof (ifconf.lifc_req[0])]; ifr++) { in get_first_interface()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dasppp2pppd556 local($ifconf) = @_;
559 shift @$ifconf; # lose the interface name
560 while (@$ifconf) {
562 $arg = shift @$ifconf;
563 $narg = shift @$ifconf if $ifconfigtakes{$arg};
734 local (@ifconfiglist,$cstr,$etherif,$intf,$ifconf,$addstr,$port);
747 $ifconf = $$ifconfig{$intf};
749 shift @$ifconf;
750 $cstr .= "ifconfig $etherif addif @$ifconf\n";
757 $ifconf = $downif{$intf};
[all …]
H A Dsys-solaris.c735 struct ifconf ifc;
2692 struct ifconf ifc; in get_ether_addr()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rarpd.c303 struct ifconf ifconf; in getintf() local
326 ifconf.ifc_len = bufsize; in getintf()
327 ifconf.ifc_buf = (caddr_t)reqbuf; in getintf()
328 if (ioctl(fd, SIOCGIFCONF, (char *)&ifconf) < 0) in getintf()
334 for (ifr = ifconf.ifc_req; ifconf.ifc_len > 0; in getintf()
335 ifr++, ifconf.ifc_len -= sizeof (struct ifreq)) { in getintf()
H A Dhostconfig.c119 struct ifconf ifc;
H A Din.rwhod.c499 struct ifconf ifc; in configure()
H A Droute.c1963 struct ifconf ifc; in inet_makesubnetmask()
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drds_ioctl.c187 STRUCT_HANDLE(ifconf, ifc); in rds_ioctl_copyin_done()
196 STRUCT_SET_HANDLE(ifc, iocp->ioc_flag, (struct ifconf *)addr); in rds_ioctl_copyin_done()
300 copyin_size = SIZEOF_STRUCT(ifconf, iocp->ioc_flag); in rds_ioctl_copyin_setup()
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dget_myaddress.c53 struct ifconf ifc; in get_myaddress()
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Daf_rds.c270 struct ifconf ifc; in rdsv3_ioctl()
353 if (ddi_copyin((void *)arg, &ifc, sizeof (struct ifconf), 0) in rdsv3_ioctl()
383 if (ddi_copyout(&ifc, (void *)arg, sizeof (struct ifconf), in rdsv3_ioctl()
H A Drdsv3_impl.c322 struct ifconf ifc; in rdsv3_do_ip_ioctl_old()
/illumos-gate/usr/src/lib/libresolv/
H A Dres_init.c110 struct ifconf ifc; in res_init()
/illumos-gate/usr/src/boot/include/net/
H A Dif.h472 struct ifconf { struct
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_net_utils.c227 struct ifconf ifc; in get_all_interfaces()
/illumos-gate/usr/src/uts/common/net/
H A Dif.h627 struct ifconf { struct
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_ipc.c792 struct ifconf ifc; in get_ifnames()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DmDNSUNP.c548 struct ifconf ifc; in get_ifi_info()
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c658 struct ifconf ifc;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c266 struct ifconf ifc; in get_ifconf()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_common.c676 struct ifconf ifc; in __s_api_get_local_interfaces()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c1301 struct ifconf ifc; in initifs()
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dnetdir_inet.c2911 struct ifconf ifc; in getbroadcastnets()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconf.c4945 struct ifconf ifc; in load_if_names()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_if.c7327 STRUCT_HANDLE(ifconf, ifc); in ip_sioctl_get_ifconf()
7377 (struct ifconf *)mp1->b_rptr); in ip_sioctl_get_ifconf()
9121 copyin_size = SIZEOF_STRUCT(ifconf, in ip_sioctl_copyin_setup()