Home
last modified time | relevance | path

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

12

/titanic_41/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()
/titanic_41/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.c741 struct ifconf ifc;
2751 struct ifconf ifc; in get_ether_addr()
/titanic_41/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.c121 struct ifconf ifc;
H A Din.rwhod.c501 struct ifconf ifc; in configure()
/titanic_41/usr/src/uts/common/io/ib/clients/rds/
H A Drds_ioctl.c186 STRUCT_HANDLE(ifconf, ifc); in rds_ioctl_copyin_done()
195 STRUCT_SET_HANDLE(ifc, iocp->ioc_flag, (struct ifconf *)addr); in rds_ioctl_copyin_done()
299 copyin_size = SIZEOF_STRUCT(ifconf, iocp->ioc_flag); in rds_ioctl_copyin_setup()
/titanic_41/usr/src/lib/librdc/common/
H A Dnetaddrs.c92 getmyaddrs(struct ifconf *ifc) in getmyaddrs()
154 struct ifconf *ifc; in self_check()
157 ifc = malloc(sizeof (struct ifconf)); in self_check()
160 memset((char *)ifc, 0, sizeof (struct ifconf)); in self_check()
/titanic_41/usr/src/ucblib/librpcsoc/
H A Dget_myaddress.c54 struct ifconf ifc; in get_myaddress()
/titanic_41/usr/src/lib/libbc/inc/include/sys/
H A Dsockio.h43 #define SIOCGIFCONF _IOWR('i',20, struct ifconf) /* get ifnet list */
/titanic_41/usr/src/cmd/avs/dscfglockd/
H A Ddscfglockd.c194 getmyaddrs(struct ifconf *ifc) in getmyaddrs()
244 struct ifconf *ifc;
1249 ifc = (struct ifconf *)malloc(sizeof (struct ifconf)); in init()
1255 (void) memset((char *)ifc, 0, sizeof (struct ifconf)); in init()
/titanic_41/usr/src/lib/libbc/inc/include/net/
H A Dif.h255 struct ifconf { struct
/titanic_41/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.c319 struct ifconf ifc; in rdsv3_do_ip_ioctl_old()
/titanic_41/usr/src/lib/libresolv/
H A Dres_init.c108 struct ifconf ifc; in res_init()
/titanic_41/usr/src/lib/libslp/clib/
H A Dslp_net_utils.c229 struct ifconf ifc; in get_all_interfaces()
/titanic_41/usr/src/uts/common/net/
H A Dif.h627 struct ifconf { struct
/titanic_41/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_ipc.c789 struct ifconf ifc; in get_ifnames()
/titanic_41/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp120 struct ifconf ifc; in GetLocalIPs()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSUNP.c519 struct ifconf ifc; in get_ifi_info()
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c662 struct ifconf ifc;
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c266 struct ifconf ifc; in get_ifconf()
/titanic_41/usr/src/lib/libsldap/common/
H A Dns_common.c676 struct ifconf ifc; in __s_api_get_local_interfaces()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c1303 struct ifconf ifc; in initifs()
/titanic_41/usr/src/lib/libnsl/nss/
H A Dnetdir_inet.c2911 struct ifconf ifc; in getbroadcastnets()

12