Home
last modified time | relevance | path

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

/third_party/ltp/testcases/network/stress/interface/
H A Dif-addr-adddel.sh8 IF_CMD='ifconfig'
35 ifconfig)
37 ifconfig $iface add $new_ip/$netmask
39 ifconfig $iface:1 $new_ip netmask 255.255.255.0
62 ifconfig)
64 ifconfig $iface del $new_ip/$netmask
66 ifconfig $iface:1 down
H A Dif-updown.sh8 IF_CMD='ifconfig'
22 ifconfig) ifconfig $iface down ;;
31 ifconfig) ifconfig $iface up ;;
H A Dif-addr-addlarge.sh8 IF_CMD='ifconfig'
48 ifconfig)
50 ifconfig $iface add $new_ip/$netmask
52 ifconfig $iface:$x:$y $new_ip netmask 255.255.0.0
73 ifconfig)
75 ifconfig $iface del $new_ip/$netmask
77 ifconfig $iface:$x:$y down
H A Dif-mtu-change.sh8 IF_CMD='ifconfig'
59 ifconfig) ifconfig $iface mtu $mtu || ret=1
60 tst_rhost_run -c "ifconfig $iface_rmt mtu $mtu" || ret=1
H A Dif4-addr-change.sh10 TST_NEEDS_CMDS="ifconfig"
27 tst_res TINFO "ifconfig changes IPv4 address $NS_TIMES times"
47 ROD ifconfig $(tst_iface) ${IPV4_LNETWORK}${add_to_net}.${num} netmask \
/third_party/ltp/testcases/kernel/containers/netns/
H A Dnetns_lib.sh36 # Adds "inet6 add" to the 'ifconfig' arguments which is required for the ipv6
37 # version. Always use with 'ifconfig', even if ipv4 version of a test case is
39 # ifconfig <device> $IFCONF_IN6_ARG IP/NETMASK
48 # netlink and 'ifconfig' for ioctl.)
58 I) COMM_TYPE="ioctl"; tst_require_cmds ifconfig ;;
67 echo "-I Test ioctl (with ifconfig) instead of netlink (with ip)"
186 [ "$COMM_TYPE" = "ioctl" ] && cmd="ifconfig"
194 ROD $NS_EXEC $NS_HANDLE0 $NS_TYPE ifconfig veth0 $IFCONF_IN6_ARG $IP0/$NETMASK
195 ROD $NS_EXEC $NS_HANDLE1 $NS_TYPE ifconfig veth1 $IFCONF_IN6_ARG $IP1/$NETMASK
196 ROD $NS_EXEC $NS_HANDLE0 $NS_TYPE ifconfig veth
[all...]
H A Dnetns_helper.sh12 # Set to 1 only for test cases using ifconfig (ioctl).
43 # Adds "inet6 add" to the 'ifconfig' arguments which is required for the ipv6
44 # version. Always use with 'ifconfig', even if ipv4 version of a test case is
46 # ifconfig <device> $IFCONF_IN6_ARG IP/NETMASK
68 # ethernet devices. Uses 'ip' command for netlink and 'ifconfig'
70 # of the 'ifconfig' command.)
103 tst_require_cmds ifconfig
235 $NS_EXEC $NS_HANDLE0 $NS_TYPE ifconfig veth0 $IFCONF_IN6_ARG $IP0/$NETMASK ||
237 $NS_EXEC $NS_HANDLE1 $NS_TYPE ifconfig veth1 $IFCONF_IN6_ARG $IP1/$NETMASK ||
239 $NS_EXEC $NS_HANDLE0 $NS_TYPE ifconfig veth
[all...]
H A Dnetns_breakns.sh7 # Tests communication with ip (uses netlink) and ifconfig (uses ioctl)
13 # 2. using ioctl (ifconfig command).
21 tst_require_cmds ifconfig
22 EXPECT_FAIL $NS_EXEC $NS_HANDLE0 $NS_TYPE ifconfig veth1 $IFCONF_IN6_ARG $IP1/$NETMASK
H A Dnetns_comm.sh9 # or ioctl(2) ('ifconfig' command) for controlling devices.
31 ROD $NS_EXEC $NS_HANDLE0 $NS_TYPE ifconfig lo up
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/
H A Dp2p-action.sh29 ifconfig $GIFNAME 192.168.42.1 up
53 sudo ifconfig $GIFNAME "$ipaddr" netmask "$ipmask"
68 ifconfig $GIFNAME 0.0.0.0
73 ifconfig $GIFNAME 0.0.0.0
H A Dp2p-action-udhcp.sh27 ifconfig $GIFNAME 192.168.42.1 up
42 ifconfig $GIFNAME 0.0.0.0
46 ifconfig $GIFNAME 0.0.0.0
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/
H A Dp2p-action.sh29 ifconfig $GIFNAME 192.168.42.1 up
53 sudo ifconfig $GIFNAME "$ipaddr" netmask "$ipmask"
68 ifconfig $GIFNAME 0.0.0.0
73 ifconfig $GIFNAME 0.0.0.0
H A Dp2p-action-udhcp.sh27 ifconfig $GIFNAME 192.168.42.1 up
42 ifconfig $GIFNAME 0.0.0.0
46 ifconfig $GIFNAME 0.0.0.0
/third_party/musl/src/network/liteos_a/
H A Dgetifaddrs.c246 struct ifconf ifconfig; in getifaddrs() local
249 ifconfig.ifc_buf = ifr; in getifaddrs()
250 ifconfig.ifc_len = sizeof(ifr); in getifaddrs()
253 if (ioctl(fd, SIOCGIFCONF, &ifconfig) < 0) in getifaddrs()
255 if (ifconfig.ifc_len % sizeof(struct ifreq)) { in getifaddrs()
259 ifno = ifconfig.ifc_len / sizeof(struct ifreq); in getifaddrs()
/third_party/musl/porting/liteos_a/user/src/network/
H A Dgetifaddrs.c246 struct ifconf ifconfig; in getifaddrs() local
249 ifconfig.ifc_buf = ifr; in getifaddrs()
250 ifconfig.ifc_len = sizeof(ifr); in getifaddrs()
253 if (ioctl(fd, SIOCGIFCONF, &ifconfig) < 0) in getifaddrs()
255 if (ifconfig.ifc_len % sizeof(struct ifreq)) { in getifaddrs()
259 ifno = ifconfig.ifc_len / sizeof(struct ifreq); in getifaddrs()
/third_party/ltp/testcases/network/stress/route/
H A Droute4-rmmod167 for ifname in `ifconfig | grep ^eth | awk '{ print $1}'`; do
H A Droute6-rmmod163 for ifname in `ifconfig | grep ^eth | awk '{ print $1}'`; do
/third_party/ltp/
H A Dver_linux106 ifconfig --version 2>&1 | grep tools | awk \
/third_party/toybox/generated/
H A Dglobals.h156 // toys/net/ifconfig.c
1635 struct ifconfig_data ifconfig; member
H A Dflags.h1358 // ifconfig ^?aS ^?aS
4625 #define TT this.ifconfig

Completed in 21 milliseconds