/system/connectivity/shill/ |
connection.cc | 261 SetMTU(properties.mtu); 584 void Connection::SetMTU(int32_t mtu) { 585 SLOG(this, 2) << __func__ << " " << mtu; local 586 // Make sure the MTU value is valid. 587 if (mtu == IPConfig::kUndefinedMTU) { 588 mtu = IPConfig::kDefaultMTU; 591 if (mtu < min_mtu) { 592 SLOG(this, 2) << __func__ << " MTU " << mtu 594 mtu = min_mtu [all...] |
ipconfig.h | 58 mtu(kUndefinedMTU), 86 int32_t mtu; member in struct:shill::IPConfig::Properties 111 // Define a default and a minimum viable MTU value.
|
ppp_device_unittest.cc | 72 EXPECT_EQ(1492, props.mtu);
|
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;
|
/system/connectivity/shill/dhcp/ |
dhcpv4_config.cc | 391 int mtu = value.Get<uint16_t>(); local 392 metrics_->SendSparseToUMA(Metrics::kMetricDhcpClientMTUValue, mtu); 393 if (mtu >= minimum_mtu() && mtu != kMinIPv4MTU) { 394 properties->mtu = mtu;
|
/system/bt/bta/hl/ |
bta_hl_utils.c | 161 UINT16 bta_hl_set_user_rx_buf_size(UINT16 mtu) 163 if (mtu > BT_DEFAULT_BUFFER_SIZE) 179 UINT8 bta_hl_set_tx_win_size(UINT16 mtu, UINT16 mps) 183 if (mtu <= mps) 191 tx_win_size = (mtu/mps)+1; 201 APPL_TRACE_DEBUG("bta_hl_set_tx_win_size win_size=%d mtu=%d mps=%d", 202 tx_win_size, mtu, mps); 216 UINT16 bta_hl_set_mps(UINT16 mtu) 219 if (mtu > BTA_HL_L2C_MPS) 225 mps = mtu; [all...] |
/external/boringssl/src/ssl/ |
d1_both.c | 137 /* kMinMTU is the minimum acceptable MTU value. */ 140 /* kDefaultMTU is the default MTU value to use if neither the user nor 252 if (ssl->d1->mtu < dtls1_min_mtu() && 254 long mtu = BIO_ctrl(SSL_get_wbio(ssl), BIO_CTRL_DGRAM_QUERY_MTU, 0, NULL); local 255 if (mtu >= 0 && mtu <= (1 << 30) && (unsigned)mtu >= dtls1_min_mtu()) { 256 ssl->d1->mtu = (unsigned)mtu; 258 ssl->d1->mtu = kDefaultMTU [all...] |
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
PacketReflector.java | 58 public PacketReflector(FileDescriptor fd, int mtu) { 61 mBuf = new byte[mtu];
|
/external/android-clat/ |
Android.mk | 4 LOCAL_SRC_FILES:=clatd.c dump.c checksum.c translate.c icmp.c ipv4.c ipv6.c config.c dns64.c logging.c getaddr.c netlink_callbacks.c netlink_msg.c setif.c mtu.c tun.c ring.c
|
/external/tcpdump/ |
print-vtp.c | 53 uint16_t mtu; member in struct:vtp_vlan_ 226 * | ISL vlan id | MTU size | 245 ND_PRINT((ndo, "\n\tVLAN info status %s, type %s, VLAN-id %u, MTU %u, SAID 0x%08x, Name %s", 249 EXTRACT_16BITS(&vtp_vlan->mtu),
|
/external/webrtc/webrtc/modules/video_coding/ |
media_optimization.h | 49 int32_t mtu); 129 int32_t mtu)
|
/frameworks/base/core/java/android/bluetooth/ |
IBluetoothGattCallback.aidl | 44 void onConfigureMTU(in String address, in int mtu, in int status);
|
BluetoothGattCallbackWrapper.java | 91 public void onConfigureMTU(String address, int mtu, int status) throws RemoteException {
|
/system/bt/bta/ar/ |
bta_ar.c | 203 void bta_ar_reg_avct(UINT16 mtu, UINT16 mtu_br, UINT8 sec_mask, tBTA_SYS_ID sys_id) 211 AVCT_Register(mtu, mtu_br, sec_mask);
|
/system/bt/service/hal/ |
bluetooth_gatt_interface.h | 105 int conn_id, int status, int mtu); 221 BluetoothGattInterface* gatt_iface, int conn_id, int mtu);
|
/external/autotest/client/deps/lansim/src/py/ |
tuntap_unittest.py | 23 # MTU is set for the interface. 24 self.assertTrue(hasattr(tap, 'mtu')) 25 self.assertTrue(tap.mtu)
|
/external/boringssl/src/ssl/test/ |
test_config.h | 64 int mtu = 0; member in struct:TestConfig
|
/external/dhcpcd-6.8.2/ |
ipv6nd.h | 56 uint32_t mtu; member in struct:ra
|
/external/webrtc/webrtc/base/ |
asyncsocket.h | 67 int EstimateMTU(uint16_t* mtu) override;
|
macasyncsocket.h | 52 int EstimateMTU(uint16_t* mtu) override;
|
/frameworks/base/core/java/android/net/ |
VpnService.java | 434 * Set the maximum transmission unit (MTU) of the VPN interface. If 440 public Builder setMtu(int mtu) { 441 if (mtu <= 0) { 442 throw new IllegalArgumentException("Bad mtu"); 444 mConfig.mtu = mtu; [all...] |
/system/bt/stack/include/ |
avct_api.h | 57 #define AVCT_MIN_CONTROL_MTU 48 /* Per the AVRC spec, minimum MTU for the control channel */ 58 #define AVCT_MIN_BROWSE_MTU 335 /* Per the AVRC spec, minimum MTU for the browsing channel */ 142 extern void AVCT_Register(UINT16 mtu, UINT16 mtu_br, UINT8 sec_mask); 234 ** Returns the peer browsing channel MTU. 246 ** Returns the peer MTU size.
|
/system/bt/stack/mcap/ |
mca_dact.c | 72 evt_data.open_cfm.mtu = p_data->open.peer_mtu;
|
/frameworks/base/core/java/com/android/internal/net/ |
VpnConfig.java | 90 public int mtu = -1; field in class:VpnConfig 150 out.writeInt(mtu); 175 config.mtu = in.readInt();
|
/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);
|