/external/ltp/runtest/ |
net_stress.interface | 12 if4-mtu-change if-mtu-change 19 if6-mtu-change if-mtu-change -6
|
/external/ltp/testcases/network/stress/interface/ |
if-mtu-change | 26 # The interval of the mtu change [second] 29 # The array of the value which MTU is changed into sequentially 40 ip li set $(tst_iface) mtu $saved_mtu 41 tst_rhost_run -c "ip li set $(tst_iface rhost) mtu $saved_mtu" 62 tst_resm TINFO "'$cmd_name changes MTU $MTU_CHANGE_TIMES times" \ 71 mtu=$(echo $CHANGE_VALUES | cut -d ' ' -f $field) 72 [ $cnt -eq $MTU_CHANGE_TIMES ] && mtu="$saved_mtu" 76 tst_resm TINFO "set MTU to $mtu $cnt/$MTU_CHANGE_TIMES" 79 if_cmd) ifconfig $iface mtu $mtu || ret= [all...] |
/external/autotest/client/common_lib/cros/bluetooth/ |
bluetooth_gatt_server.py | 31 def __init__(self, mtu=BT_ATT_DEFAULT_LE_MTU): 32 self.mtu = max(mtu, BT_ATT_DEFAULT_LE_MTU) 42 """Handle exchange MTU request. 44 Exchange MTU request/response usually initiates client-server 45 communication. The method sends exchange MTU response back to client. 46 It also sets value for MTU attribute. 53 'Invalid MTU size: expected 2 bytes for Exchange MTU Request') 57 raise BluetoothGATTServerError('Invalid MTU size: %d < %d' [all...] |
/external/android-clat/ |
setif.h | 22 int if_up(const char *ifname, int mtu);
|
config.h | 29 int16_t mtu, ipv4mtu; member in struct:clat_config
|
/system/bt/packet/avrcp/ |
get_element_attributes_packet.h | 66 size_t mtu); 79 GetElementAttributesResponseBuilder(size_t mtu) 82 mtu_(mtu){};
|
get_item_attributes.h | 31 Status status, size_t mtu); 45 GetItemAttributesResponseBuilder(Status status, size_t mtu) 48 mtu_(mtu) {}
|
get_folder_items.h | 28 Status status, uint16_t uid_counter, size_t mtu); 30 Status status, uint16_t uid_counter, size_t mtu); 32 Status status, uint16_t uid_counter, size_t mtu); 38 // Returns false if adding an item would exceed the MTU 51 uint16_t uid_counter, size_t mtu) 56 mtu_(mtu){};
|
/system/bt/service/common/android/bluetooth/ |
IBluetoothLowEnergyCallback.aidl | 25 void OnMtuChanged(int status, String address, int mtu);
|
IBluetoothLowEnergy.aidl | 32 boolean SetMtu(int client_id, String address, int mtu);
|
/frameworks/base/core/java/android/net/ |
DhcpResults.java | 43 /** Link MTU option. 0 means unset. */ 44 public int mtu; field in class:DhcpResults 63 mtu = source.mtu; 83 mtu = 0; 93 if (mtu != 0) str.append(" MTU ").append(mtu); 110 mtu == target.mtu; [all...] |
/external/iproute2/tc/ |
q_tbf.c | 28 fprintf(stderr, "Usage: ... tbf limit BYTES burst BYTES[/BYTES] rate KBPS [ mtu BYTES[/BYTES] ]\n"); 45 unsigned buffer = 0, mtu = 0, mpu = 0, latency = 0; local 98 } else if (strcmp(*argv, "mtu") == 0 || 103 if (mtu) { 104 fprintf(stderr, "tbf: duplicate \"mtu/minburst\" specification\n"); 107 if (get_size_and_cell(&mtu, &Pcell_log, *argv) < 0) { 185 if (!mtu) { 186 fprintf(stderr, "tbf: when \"peakrate\" is specified, \"mtu\" must also be specified.\n"); 208 double lim2 = prate64*(double)latency/TIME_UNITS_PER_SEC + mtu; 218 if (tc_calc_rtable(&opt.rate, rtab, Rcell_log, mtu, linklayer) < 0) 256 double buffer, mtu; local [all...] |
tc_core.c | 127 int cell_log, unsigned int mtu, 135 if (mtu == 0) 136 mtu = 2047; 140 while ((mtu >> cell_log) > 255) 167 s->mtu = 0; 175 if (s->mtu == 0) 176 s->mtu = 2047; 181 while ((s->mtu >> s->cell_log) > s->tsize - 1)
|
tc_core.h | 24 int cell_log, unsigned mtu, enum link_layer link_layer);
|
/kernel/tests/net/test/ |
net_test.sh | 8 ip link set lo mtu 16436
|
/system/bt/service/doc/ |
IBluetoothLowEnergyCallback.txt | 36 /* Called to report current MTU value. Can be a result of calling 37 * IBluetoothLowEnergy.setMtu or remote device trying to change MTU. 39 void OnMtuChanged(in int status, in const char* address, in int mtu);
|
/external/autotest/client/site_tests/network_DhcpMTU/ |
network_DhcpMTU.py | 21 """Test implemenation of MTU including confirming the interface state.""" 23 def check_mtu_config(self, mtu): 24 """Check that the ipconfig and interface in the client has correct MTU. 26 @param mtu int expected MTU value. 40 ipconfig_mtu = ipconfig_properties['Mtu'] 41 if ipconfig_mtu != mtu: 42 raise error.TestFail('Shill MTU %d does not match expected %d.' % 43 (ipconfig_mtu, mtu)) 46 self.ethernet_pair.peer_interface_name).mtu [all...] |
/external/iputils/ |
tracepath6.c | 64 int mtu; variable 140 progress = mtu; 270 mtu = e->ee_info; 271 progress = mtu; 325 memset(pktbuf, 0, mtu); 343 if (sendto(fd, pktbuf, mtu-overhead, 0, (struct sockaddr *)&target, targetlen) > 0) 356 if (recv(fd, pktbuf, mtu, MSG_DONTWAIT) > 0) { 400 mtu = atoi(optarg); 474 if (!mtu) 475 mtu = 128000 [all...] |
/external/boringssl/src/ssl/ |
d1_lib.cc | 74 // before starting to decrease the MTU. 171 // Reduce MTU after 2 unsuccessful retransmissions 174 long mtu = BIO_ctrl(ssl->wbio, BIO_CTRL_DGRAM_GET_FALLBACK_MTU, 0, NULL); local 175 if (mtu >= 0 && mtu <= (1 << 30) && (unsigned)mtu >= dtls1_min_mtu()) { 176 ssl->d1->mtu = (unsigned)mtu;
|
/system/bt/service/ipc/binder/ |
bluetooth_low_energy_binder_server.cc | 103 const String16& address, int mtu, 106 << " mtu: " << mtu; local 116 *_aidl_return = client->SetMtu(std::string(String8(address).string()), mtu); 138 int mtu) { 140 << " mtu: " << mtu; local 149 cb->OnMtuChanged(status, String16(address, std::strlen(address)), mtu);
|
/bionic/libc/kernel/uapi/linux/ |
gsmmux.h | 33 unsigned int mtu; member in struct:gsm_config
|
/external/kernel-headers/original/uapi/linux/ |
gsmmux.h | 19 unsigned int mtu; member in struct:gsm_config
|
/system/bt/bta/include/ |
bta_ar_api.h | 101 extern void bta_ar_reg_avct(uint16_t mtu, uint16_t mtu_br, uint8_t sec_mask,
|
/external/libnl/src/lib/ |
link.c | 71 uint32_t mtu = nl_cli_parse_u32(arg); local 72 rtnl_link_set_mtu(link, mtu);
|
/external/ltp/testcases/network/stress/ns-tools/ |
initialize_if | 73 command="ifconfig $ifname down mtu 1500 ; ip route flush dev $ifname ; ip addr flush dev $ifname ; ifconfig $ifname up" 77 ip link set mtu 1500 dev $ifname && \ 83 ret=`$LTP_RSH $RHOST '( PATH=/sbin:/usr/sbin:$PATH ; ifconfig '$ifname' down && ip link set mtu 1500 dev '$ifname' && ip route flush dev '$ifname' && ip addr flush dev '$ifname' && ifconfig '$ifname' up ) >/dev/null 2>&1 ; echo $?'`
|