Searched refs:ifconfig (Results 1 - 22 of 22) sorted by relevance

/illumos-gate/usr/src/lib/brand/solaris10/cmd/
H A Ds10_net_physical.sh58 # Cause ifconfig to not automatically start in.mpathd when IPMP groups are
69 # DHCP agent (ifconfig communicates to the DHCP agent through the
82 /sbin/ifconfig -auD4 netmask + broadcast +
167 if /sbin/ifconfig $1 ipmp; then
185 /sbin/ifconfig $1 plumb
186 if /sbin/ifconfig $1 inet >/dev/null 2>&1; then
205 /sbin/ifconfig $1 inet6 plumb
206 if /sbin/ifconfig $1 inet6 >/dev/null 2>&1; then
222 if /sbin/ifconfig $1 inet6 ipmp; then
242 inet_process_hostname /sbin/ifconfig
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv6localicmp.ksh48 if ! ifconfig lo0 inet6 > /dev/null 2>&1; then
49 if ! ifconfig lo0 inet6 plumb up; then
81 ifconfig lo0 inet6 unplumb
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dnet-loopback39 "using ifconfig to create lo0" > /dev/msglog
41 /sbin/ifconfig lo0 plumb 127.0.0.1 up
44 /sbin/ifconfig lo0 inet6 plumb ::1 up
49 /sbin/ifconfig lo0 all-zones
50 /sbin/ifconfig lo0 inet6 all-zones
H A Dnet-physical104 # DHCP agent (ifconfig communicates to the DHCP agent through the
118 /sbin/ifconfig -auD4 netmask + broadcast +
233 if /sbin/ifconfig $1 ipmp; then
251 /sbin/ifconfig $1 plumb
252 if /sbin/ifconfig $1 inet >/dev/null 2>&1; then
282 /sbin/ifconfig $1 inet6 plumb
283 if /sbin/ifconfig $1 inet6 >/dev/null 2>&1; then
299 if /sbin/ifconfig $1 inet6 ipmp; then
337 /sbin/ifconfig $intf unplumb > /dev/null 2>&1
338 /sbin/ifconfig
[all...]
H A Dnet-iptun58 /sbin/ifconfig $1 $2 plumb
61 /sbin/ifconfig $1 $2 $ifcmds
64 /sbin/ifconfig $1 $2 up
145 /sbin/ifconfig $tun unplumb > /dev/null 2>&1
146 /sbin/ifconfig $tun inet6 unplumb > /dev/null 2>&1
H A Dnet-netmask67 # ifconfig is run here, after waiting for name services, so that
69 # in -auD tells ifconfig NOT to mess with the interface if it is
72 /usr/sbin/ifconfig -auD4 netmask + broadcast +
76 # /usr/sbin/ifconfig -a
H A Didentity-node64 /sbin/ifconfig -adD4 auto-revarp up
/illumos-gate/usr/src/cmd/cmd-inet/etc/init.d/
H A Dpppd37 if [ -f $PPPDIR/ifconfig ]; then
38 . $PPPDIR/ifconfig
64 # Use ifconfig to make the interfaces down just in case
65 if [ -f $PPPDIR/ifconfig ]; then
66 nawk '/ifconfig[ ]*sppp/ { \
67 system("ifconfig " $2 " down"); \
68 system("ifconfig " $2 " unplumb"); \
71 /ifconfig/ { \
75 }' < $PPPDIR/ifconfig
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A DMakefile26 PROG = ifconfig
28 LOCALOBJS= ifconfig.o revarp.o
47 # ifconfig uses the ancillary data feature which is available only through
H A Difconfig.c14 #include "ifconfig.h"
188 static void ifconfig(int argc, char *argv[], int af,
221 * are more interfaces to act on (i.e., ifconfig was invoked with -a), keep
231 /* Refer to the comments in ifconfig() on the netmask "hack" */
356 /* End defines and structure definitions for ifconfig -a plumb */
401 "ifconfig: %s: Bad value for %s in %s\n", default_ip_str,
438 * Note that due to the ifconfig syntax they have to be combined
456 char *av[2] = { "ifconfig", name };
505 "ifconfig: %s: no such interface\n", name);
511 ifconfig(arg
611 ifconfig(int argc, char *argv[], int af, struct ifaddrs *ifa) function
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/routeadm/
H A Dsvc-forwarding36 numv6ifs=`/usr/sbin/ifconfig -au6 | /usr/bin/grep -c inet6`
/illumos-gate/usr/src/cmd/svc/shell/
H A Dnet_include.sh180 /sbin/ifconfig $1 >/dev/null 2>&1 && return 1
181 /sbin/ifconfig $1 inet6 >/dev/null 2>&1 && return 1
182 /sbin/ifconfig $1 $3 ipmp group $2 2>/dev/null
340 # inet_process_hostname /sbin/ifconfig hme0 < /etc/hostname.hme0
434 # inet6_process_hostname /sbin/ifconfig hme0 inet6 < /etc/hostname6.hme0
536 /sbin/ifconfig $grifname $type $line >/dev/null
549 /sbin/ifconfig $grifname $type \
584 /sbin/ifconfig $1 plumb > /dev/null 2>&1
621 $process_func /sbin/ifconfig $1 $type < $hostpfx.$1 >/dev/null
633 /sbin/ifconfig
[all...]
H A Dipf_include.sh323 ifconfig $scratch >/dev/null 2>&1 || return 1
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dasppp2pppd78 # List of keywords for which ifconfig takes an additional parameter.
420 ifconfig => -1,
439 local($words,$word,$prevword,$i,$errors,%defaults,%ifconfig,%paths);
449 if ($$words[0] =~ /^ifconfig$/i) {
453 shift @$words; # discard 'ifconfig' keyword
455 warn("Bad interface on ifconfig $word.\n"), next
457 $ifconfig{$word} = \@$words;
506 die "No interfaces defined for aspppd.\n" if 0+(keys %ifconfig) == 0;
509 nof 0+(keys %ifconfig), "interface", " defined for aspppd.\n";
512 ( \%ifconfig, \
[all...]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dgrub.h128 extern int ifconfig (char *, char *, char *, char *);
H A Dnic.c1161 /* ifconfig - configure network interface. */
1163 ifconfig (char *ip, char *sm, char *gw, char *svr) function
/illumos-gate/usr/src/cmd/tsol/misc/
H A Dtxzonemgr.sh513 ipaddr=$(ifconfig $i|grep inet|cut -d " " -f2)
680 for i in $(ifconfig -a4|grep "^[a-z].*:")
686 for j in $(ifconfig $i)
731 for j in $(ifconfig $nic)
833 ifconfig $nic $ipaddr netmask + broadcast +
842 msg=$(ifconfig $nic addif 0.0.0.0)
869 ifconfig $vnicname plumb
882 ifconfig $nic all-zones;\
892 ifconfig $nic -zone;\
1247 ifconfig
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dip_rcm.c78 #define SBIN_IFCONFIG "/sbin/ifconfig" /* ifconfig command */
219 static boolean_t ifconfig(const char *, const char *, const char *, boolean_t);
1526 _("IP: ifconfig configinfo error (%s:%d) %s\n"),
1535 _("IP: ifconfig configinfo error (%s:%d) %s\n"),
1562 * Save off the modlist, ifconfig options and unplumb.
1590 if (ipv4 && !ifconfig(pif->pi_ifname, "inet", "unplumb", B_FALSE)) {
1596 if (ipv6 && !ifconfig(pif->pi_ifname, "inet6", "unplumb", B_FALSE)) {
1611 * all ifconfig options
1663 success = ifconfig("", "", li
2722 ifconfig(const char *ifinst, const char *fstr, const char *buf, boolean_t stdif) function
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A DMakefile64 SUBDIRS= bootconfchk ifconfig ilbadm in.rdisc in.routed \
69 MSGSUBDIRS= bootconfchk ifconfig ilbadm in.routed in.talkd \
/illumos-gate/usr/src/lib/brand/solaris10/zone/
H A Ds10_boot.ksh69 # $1 The full path of the file to replace (e.g., /sbin/ifconfig)
206 replace_with_native /sbin/ifconfig 0555 root:bin
245 # Create wrapper at /lib/inet/in.mpathd as well because native ifconfig
/illumos-gate/usr/src/man/man1m/
H A DMakefile179 ifconfig.1m \
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dbuiltins.c2120 /* ifconfig */
2152 if (! ifconfig (ip, sm, gw, svr))
2164 "ifconfig",
2167 "ifconfig [--address=IP] [--gateway=IP] [--mask=MASK] [--server=IP]",
5371 if (! *arg || ! ifconfig (0, 0, 0, arg))

Completed in 188 milliseconds