HomeSort by relevance Sort by last modified time
    Searched refs:mtu (Results 251 - 275 of 558) sorted by null

<<11121314151617181920>>

  /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DataCallResponse.java 52 public int mtu = PhoneConstants.UNSET_MTU; field in class:DataCallResponse
88 .append(" mtu=").append(mtu)
234 // set interface MTU
236 linkProperties.setMtu(mtu);
  /system/connectivity/shill/
shill_main.cc 64 // The minimum MTU value that will be respected in DHCP responses.
65 static const char kMinimumMTU[] = "minimum-mtu";
107 " --minimum-mtu=mtu\n"
108 " Set the minimum value to respect as the MTU from DHCP responses.\n";
228 int mtu; local
230 if (!base::StringToInt(value, &mtu)) {
233 settings.minimum_mtu = mtu;
static_ip_parameters_unittest.cc 63 EXPECT_EQ(IPConfig::kUndefinedMTU, ipconfig_props_.mtu);
79 EXPECT_EQ(kMtu + version, ipconfig_props_.mtu);
104 EXPECT_TRUE(store->GetInt32Property(property_prefix + ".Mtu", &int_value,
128 ipconfig_props_.mtu = kMtu;
141 "StaticIP.Mtu", kMtu + version, &error);
203 store.ClearProperty("StaticIP.Mtu", &unused_error);
208 props.mtu = kTestMtu;
211 EXPECT_EQ(kTestMtu, props.mtu);
224 EXPECT_FALSE(store.GetInt32Property("StaticIP.Mtu", nullptr, &error));
246 EXPECT_CALL(store, GetInt(kID, "StaticIP.Mtu", _)
    [all...]
ipconfig_unittest.cc 129 EXPECT_EQ(properties.mtu, ipconfig_->properties().mtu);
165 properties.mtu = 700;
  /system/core/toolbox/
iftop.c 57 unsigned int mtu; member in struct:if_stats
168 ifs->mtu = get_mtu(ifs->name);
192 "name", "MTU", "bytes", "packets", "errs", "drpd", "bytes",
203 new->name, new->mtu,
  /external/mesa3d/src/mesa/drivers/dri/r200/
r200_cmdbuf.c 57 int i, mtu; local
59 mtu = rmesa->radeon.glCtx->Const.MaxTextureUnits;
83 for (i = 0; i < mtu; ++i)
85 for (i = 0; i < mtu; ++i)
94 for (i = 0; i < 3 + mtu; ++i)
  /system/bt/stack/sdp/
sdp_main.c 88 /* Initialize the L2CAP configuration. We only care about MTU and flush */
90 sdp_cb.l2cap_my_cfg.mtu = SDP_MTU_SIZE;
154 if (max_size > (sdp_cb.l2cap_my_cfg.mtu - 16) )
155 max_size = sdp_cb.l2cap_my_cfg.mtu - 16;
321 /* Remember the remote MTU size */
329 if (p_cfg->mtu > SDP_MTU_SIZE)
332 p_ccb->rem_mtu_size = p_cfg->mtu;
  /system/bt/stack/rfcomm/
port_api.c 94 ** mtu - Maximum frame size the application can accept
113 UINT16 mtu, BD_ADDR bd_addr, UINT16 *p_handle,
141 RFCOMM_TRACE_API("RFCOMM_CreateConnection(): scn:%d, dlci:%d, is_server:%d mtu:%d, p_mcb:%p",
142 scn, dlci, is_server, mtu, p_mcb);
163 RFCOMM_TRACE_API("RFCOMM_CreateConnection(): scn:%d, dlci:%d, is_server:%d mtu:%d, p_mcb:%p, p_port:%p",
164 scn, dlci, is_server, mtu, p_mcb, p_port);
195 /* If the MTU is not specified (0), keep MTU decision until the
198 * will know for sure our prefered MTU
203 if (mtu)
    [all...]
  /external/dnsmasq/src/
tftp.c 50 int is_err = 1, if_index = 0, mtu = 0; local
89 mtu = listen->iface->mtu;
135 mtu = ifr.ifr_mtu;
213 if (mtu != 0 && transfer->blocksize > (unsigned)mtu - 32)
214 transfer->blocksize = (unsigned)mtu - 32;
  /external/avahi/avahi-core/
dns.c 39 AvahiDnsPacket* avahi_dns_packet_new(unsigned mtu) {
43 if (mtu <= 0)
45 else if (mtu >= AVAHI_DNS_PACKET_EXTRA_SIZE)
46 max_size = mtu - AVAHI_DNS_PACKET_EXTRA_SIZE;
65 AvahiDnsPacket* avahi_dns_packet_new_query(unsigned mtu) {
68 if (!(p = avahi_dns_packet_new(mtu)))
75 AvahiDnsPacket* avahi_dns_packet_new_response(unsigned mtu, int aa) {
78 if (!(p = avahi_dns_packet_new(mtu)))
85 AvahiDnsPacket* avahi_dns_packet_new_reply(AvahiDnsPacket* p, unsigned mtu, int copy_queries, int aa) {
89 if (!(r = avahi_dns_packet_new_response(mtu, aa))
    [all...]
  /external/webrtc/webrtc/p2p/base/
pseudotcp_unittest.cc 62 void SetLocalMtu(int mtu) {
63 local_.NotifyMTU(mtu);
64 local_mtu_ = mtu;
66 void SetRemoteMtu(int mtu) {
67 remote_.NotifyMTU(mtu);
68 remote_mtu_ = mtu;
142 // Also drop packets that are larger than the configured MTU.
146 LOG(LS_VERBOSE) << "Dropping packet that exceeds path MTU, size=" << len;
729 // Test sending <= 1x MTU of data in each ping/pong. Should take <10ms.
736 // Test sending 2x-3x MTU of data in each ping/pong. Should take <10ms
    [all...]
  /frameworks/base/core/java/android/bluetooth/
BluetoothGatt.java 481 * Callback invoked when the MTU for a given connection changes
484 public void onConfigureMTU(String address, int mtu, int status) {
486 " mtu=" + mtu + " status=" + status);
491 mCallback.onMtuChanged(BluetoothGatt.this, mtu, status);
    [all...]
  /system/bt/service/client/
main.cpp 181 void OnMtuChanged(int status, const char *address, int mtu) override {
183 cout << COLOR_BOLDWHITE "MTU changed: "
186 << COLOR_BOLDWHITE " - mtu: " << mtu << COLOR_OFF;
624 int mtu; local
627 PrintError("Usage: set-mtu [address] [mtu]");
632 mtu = std::stoi(args[1]);
634 if (mtu < 23) {
635 PrintError("MTU must be 23 or larger")
    [all...]
  /system/bt/service/hal/
bluetooth_gatt_interface.cpp 190 void MtuChangedCallback(int conn_id, int status, int mtu) {
196 << " mtu: " << mtu; local
198 FOR_EACH_CLIENT_OBSERVER(MtuChangedCallback(g_interface, conn_id, status, mtu));
424 void MtuChangedCallback(int conn_id, int mtu) {
426 VLOG(2) << __func__ << " - conn_id: " << conn_id << " mtu: " << mtu; local
429 FOR_EACH_SERVER_OBSERVER(MtuChangedCallback(g_interface, conn_id, mtu));
683 int /* mtu */) {
857 int /* mtu */) {
    [all...]
  /system/bt/service/
low_energy_client.cpp 380 bool LowEnergyClient::SetMtu(std::string address, int mtu) {
382 << " MTU: " << mtu; local
392 LOG(WARNING) << "Can't set MTU, no existing connection to " << address;
398 GetClientHALInterface()->configure_mtu(conn_id->second, mtu);
400 LOG(ERROR) << "HAL call to set MTU failed";
628 int mtu) {
630 << " mtu: " << mtu; local
648 delegate_->OnMtuChanged(this, status, addr, mtu);
    [all...]
  /system/bt/bta/include/
bta_hl_api.h 224 UINT16 max_rx_apdu_size; /* local rcv MTU */
232 UINT16 max_rx_apdu_size; /* local rcv MTU */
271 UINT16 mtu; member in struct:__anon73130
510 UINT16 mtu; member in struct:__anon73155
524 UINT16 mtu; member in struct:__anon73156
  /external/libnl/lib/route/
route_utils.c 144 __ADD(RTAX_MTU, mtu)
  /external/webrtc/webrtc/base/
win32socketserver.h 55 virtual int EstimateMTU(uint16_t* mtu);
  /external/webrtc/webrtc/modules/video_coding/
media_optimization.cc 148 int32_t mtu) {
151 target_bitrate, width, height, num_layers, mtu);
161 int32_t mtu) {
184 max_payload_size_ = mtu;
  /hardware/libhardware/include/hardware/
bt_gatt_server.h 120 /** Callback invoked when the MTU for a given connection changes */
121 typedef void (*mtu_changed_callback)(int conn_id, int mtu);
  /system/bt/btif/co/
bta_av_co.c 144 UINT16 mtu; /* maximum transmit unit size */ member in struct:__anon73281
    [all...]
  /system/bt/stack/gatt/
att_protocol.c 43 ** Description Build a exchange MTU request
59 p_buf->len = GATT_HDR_SIZE; /* opcode + 2 bytes mtu */
97 ** Description Build a exchange MTU request
303 /* ensure data not exceed MTU size */
398 p_cmd = attp_build_mtu_cmd(op_code, p_msg->mtu);
516 if (p_msg->mtu <= GATT_MAX_MTU_SIZE)
518 p_tcb->payload_size = p_msg->mtu;
519 p_cmd = attp_build_mtu_cmd(GATT_REQ_MTU, p_msg->mtu);
  /system/bt/stack/l2cap/
l2c_ble.c 628 UINT16 lcid = 0, rcid = 0, mtu = 0, mps = 0, initial_credit = 0; local
703 STREAM_TO_UINT16 (mtu, p);
708 "mtu = %d, "
710 "initial credit = %d", mtu, mps, initial_credit);
737 if (mtu < L2CAP_LE_MIN_MTU || mps < L2CAP_LE_MIN_MPS || mps > L2CAP_LE_MAX_MPS)
748 p_ccb->peer_conn_cfg.mtu = mtu;
776 STREAM_TO_UINT16 (p_ccb->peer_conn_cfg.mtu, p);
783 "mtu = %d, "
787 p_ccb->remote_cid, p_ccb->peer_conn_cfg.mtu, p_ccb->peer_conn_cfg.mps
    [all...]
  /system/connectivity/shill/net/
rtnl_handler.h 84 // Set the maximum transmission unit (MTU) for the network interface that
86 virtual void SetInterfaceMTU(int interface_index, unsigned int mtu);
  /tools/test/connectivity/acts/framework/acts/test_utils/bt/
bt_gatt_utils.py 319 def setup_gatt_mtu(cen_ad, bluetooth_gatt, gatt_callback, mtu):
320 """utility function to set mtu for GATT connection.
323 1. Request mtu change.
324 2. Check if the mtu is changed to the new value
329 mtu: new mtu value to be set
335 cen_ad.droid.gattClientRequestMtu(bluetooth_gatt, mtu)
339 mtu_size_found = mtu_event['data']['MTU']
340 if mtu_size_found != mtu:
341 log.error("MTU size found: {}, expected: {}".format(mtu_size_found
    [all...]

Completed in 771 milliseconds

<<11121314151617181920>>