Searched refs:intf (Results 1 – 7 of 7) sorted by relevance
/tools/testing/selftests/net/forwarding/ |
D | sch_tbf_core.sh | 111 local intf 117 for intf in $swp1 $swp2; do 118 ip link set dev $intf up 119 mtu_set $intf 10000 122 vlan_create $intf $vlan 123 ip link set dev $intf.$vlan master br$vlan 124 ip link set dev $intf.$vlan up 138 local intf 148 for intf in $swp2 $swp1; do 150 ip link set dev $intf.$vlan down [all …]
|
/tools/testing/selftests/drivers/net/mlxsw/ |
D | sch_red_core.sh | 163 local intf 172 for intf in $swp1 $swp2 $swp3 $swp4 $swp5; do 173 ip link set dev $intf up 174 mtu_set $intf 10000 177 for intf in $swp1 $swp4; do 179 vlan_create $intf $vlan 180 ip link set dev $intf.$vlan master br1_$vlan 181 ip link set dev $intf.$vlan up 185 for intf in $swp2 $swp3 $swp5; do 187 vlan_create $intf $vlan [all …]
|
/tools/usb/ |
D | testusb.c | 132 struct usb_interface_descriptor intf; in testdev_ffs_ifnum() member 141 if (u.intf.bLength == sizeof u.intf in testdev_ffs_ifnum() 142 && u.intf.bDescriptorType == USB_DT_INTERFACE in testdev_ffs_ifnum() 143 && u.intf.bNumEndpoints == 2 in testdev_ffs_ifnum() 144 && u.intf.bInterfaceClass == USB_CLASS_VENDOR_SPEC in testdev_ffs_ifnum() 145 && u.intf.bInterfaceSubClass == 0 in testdev_ffs_ifnum() 146 && u.intf.bInterfaceProtocol == 0) in testdev_ffs_ifnum() 147 return (unsigned char)u.intf.bInterfaceNumber; in testdev_ffs_ifnum()
|
D | ffs-test.c | 115 struct usb_interface_descriptor intf; member 120 struct usb_interface_descriptor intf; member 136 .intf = { 137 .bLength = sizeof descriptors.fs_descs.intf, 160 .intf = { 161 .bLength = sizeof descriptors.fs_descs.intf, 185 .intf = { 186 .bLength = sizeof descriptors.fs_descs.intf,
|
/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 59 struct usb_interface_descriptor intf; member 72 .intf = { 73 .bLength = sizeof(descriptors.fs_descs.intf), 94 .intf = { 95 .bLength = sizeof(descriptors.hs_descs.intf),
|
/tools/usb/ffs-aio-example/multibuff/device_app/ |
D | aio_multibuff.c | 61 struct usb_interface_descriptor intf; member 74 .intf = { 75 .bLength = sizeof(descriptors.fs_descs.intf), 96 .intf = { 97 .bLength = sizeof(descriptors.hs_descs.intf),
|
/tools/testing/selftests/net/ |
D | ipsec.c | 319 static int ip4_addr_set(int sock, uint32_t seq, const char *intf, in ip4_addr_set() argument 336 req.info.ifa_index = if_nametoindex(intf); in ip4_addr_set() 361 static int link_set_up(int sock, uint32_t seq, const char *intf) in link_set_up() argument 376 req.info.ifi_index = if_nametoindex(intf); in link_set_up() 387 static int ip4_route_set(int sock, uint32_t seq, const char *intf, in ip4_route_set() argument 395 unsigned int index = if_nametoindex(intf); in ip4_route_set()
|