/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/connectivity/shill/test-scripts/ |
set-mtu | 6 print "Usage: %s <mtu>" % (sys.argv[0]) 9 (_, mtu) = sys.argv 18 ipconfig.SetProperty("Mtu", int(mtu))
|
/system/netd/server/ |
InterfaceController.h | 27 int setMtu(const char *interface, const char *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 99 } 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"); 207 double lim2 = prate64*(double)latency/TIME_UNITS_PER_SEC + mtu; 216 if (tc_calc_rtable(&opt.rate, rtab, Rcell_log, mtu, linklayer) < 0) 254 double buffer, mtu; local [all...] |
tc_core.c | 125 int cell_log, unsigned mtu, 133 if (mtu == 0) 134 mtu = 2047; 138 while ((mtu >> cell_log) > 255) 165 s->mtu = 0; 173 if (s->mtu == 0) 174 s->mtu = 2047; 179 while ((s->mtu >> s->cell_log) > s->tsize - 1)
|
tc_core.h | 24 int cell_log, unsigned mtu, enum link_layer link_layer);
|
/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);
|
IBluetoothLowEnergy.txt | 53 * Sends request to set MTU to |mtu| for the device with address |address|. 57 boolean setMtu(in int client_id, in char* address, int mtu);
|
/system/extras/tests/net_test/ |
net_test.sh | 8 ip link set lo mtu 16436
|
/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...] |
/bionic/libc/kernel/uapi/linux/ |
gsmmux.h | 36 unsigned int mtu; member in struct:gsm_config
|
/external/avahi/avahi-core/ |
dns.h | 40 AvahiDnsPacket* avahi_dns_packet_new(unsigned mtu); 41 AvahiDnsPacket* avahi_dns_packet_new_query(unsigned mtu); 42 AvahiDnsPacket* avahi_dns_packet_new_response(unsigned mtu, int aa); 44 AvahiDnsPacket* avahi_dns_packet_new_reply(AvahiDnsPacket* p, unsigned mtu, int copy_queries, int aa);
|
/external/kernel-headers/original/uapi/linux/ |
gsmmux.h | 18 unsigned int mtu; member in struct:gsm_config
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothGattCallback.java | 143 * Callback indicating the MTU for a given device connection has changed. 150 * @param mtu The new MTU size 151 * @param status {@link BluetoothGatt#GATT_SUCCESS} if the MTU has been changed successfully 153 public void onMtuChanged(BluetoothGatt gatt, int mtu, int status) {
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
decode_with_partial_drops.c | 109 int next_packet(struct parsed_header* hdr, int pos, int length, int mtu) 119 if (remainFirst <= mtu) 125 size = mtu; 131 /* second partition; just slot it up according to MTU */ 132 if (remaining <= mtu) 137 return mtu; 149 int mtu = 1500; local 167 *kept = *size/mtu + ((*size % mtu > 0) ? 1 : 0); /* approximate */ 173 while ((pkg_size = next_packet(&hdr, pos, *size, mtu)) > 0 [all...] |
/system/bt/bta/include/ |
bta_ar_api.h | 99 extern void bta_ar_reg_avct(UINT16 mtu, UINT16 mtu_br, UINT8 sec_mask, tBTA_SYS_ID sys_id);
|
/external/libnl/src/lib/ |
link.c | 51 uint32_t mtu = nl_cli_parse_u32(arg); local 52 rtnl_link_set_mtu(link, mtu);
|
/system/bt/service/common/bluetooth/binder/ |
IBluetoothLowEnergyCallback.h | 61 virtual void OnMtuChanged(int status, const char* address, int mtu) = 0; 102 void OnMtuChanged(int status, const char* address, int mtu) override;
|
/system/bt/service/ipc/binder/ |
bluetooth_low_energy_binder_server.h | 52 bool SetMtu(int client_id, const char* address, int mtu) override; 69 const char* address, int mtu) override;
|
/system/bt/stack/rfcomm/ |
rfc_port_if.c | 82 void RFCOMM_DlcEstablishReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) 84 UNUSED(mtu); 110 void RFCOMM_DlcEstablishRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result) 112 UNUSED(mtu); 140 void RFCOMM_ParNegReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) 180 rfc_send_pn (p_mcb, dlci, TRUE, mtu, cl, k); 194 void RFCOMM_ParNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) 200 rfc_send_pn (p_mcb, dlci, FALSE, mtu, cl, k);
|
port_rfc.c | 75 /* Connection is up and we know local and remote features, select MTU */ 80 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu); 218 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu); 290 ** DLCI parameters (currently only MTU is negotiated). 292 ** Otherwise save the MTU size supported by the peer. 295 void PORT_ParNegInd (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) 301 RFCOMM_TRACE_EVENT ("PORT_ParNegInd dlci:%d mtu:%d", dlci, mtu); 322 /* Connection is up and we know local and remote features, select MTU */ 326 p_port->mtu = (p_port->mtu < mtu) ? p_port->mtu : mtu [all...] |