/system/core/toolbox/ |
ifconfig.c | 36 static void setmtu(int s, struct ifreq *ifr, const char *mtu) 38 int m = atoi(mtu); 130 } else if (!strcmp(argv[0], "mtu")) { 134 die("expecting a value for parameter \"mtu\"");
|
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/bluetooth/bluedroid/stack/include/ |
avct_api.h | 56 #define AVCT_MIN_CONTROL_MTU 48 /* Per the AVRC spec, minimum MTU for the control channel */ 57 #define AVCT_MIN_BROWSE_MTU 335 /* Per the AVRC spec, minimum MTU for the browsing channel */ 141 AVCT_API extern void AVCT_Register(UINT16 mtu, UINT16 mtu_br, UINT8 sec_mask); 233 ** Returns the peer browsing channel MTU. 245 ** Returns the peer MTU size.
|
mca_api.h | 123 UINT16 data_mtu; /* L2CAP MTU of the MCAP data channel */ 159 UINT16 mtu; /* peer mtu */ member in struct:__anon3379 172 UINT16 mtu; /* peer mtu */ member in struct:__anon3381
|
/external/bluetooth/bluedroid/stack/mcap/ |
mca_dact.c | 69 evt_data.open_cfm.mtu = p_data->open.peer_mtu;
|
/external/libppp/src/ |
lcp.h | 87 u_short mtu; /* Preferred MTU */ member in struct:lcp::__anon10775 88 u_short max_mtu; /* Preferred MTU */
|
/external/openssl/include/openssl/ |
dtls1.h | 232 unsigned int mtu; /* max DTLS packet size */ member in struct:dtls1_state_st
|
/external/openssl/ssl/ |
dtls1.h | 232 unsigned int mtu; /* max DTLS packet size */ member in struct:dtls1_state_st
|
/external/bluetooth/bluedroid/stack/sdp/ |
sdp_main.c | 85 /* Initialize the L2CAP configuration. We only care about MTU and flush */ 87 sdp_cb.l2cap_my_cfg.mtu = SDP_MTU_SIZE; 151 if (max_size > (sdp_cb.l2cap_my_cfg.mtu - 16) ) 152 max_size = sdp_cb.l2cap_my_cfg.mtu - 16; 317 /* Remember the remote MTU size */ 325 if (p_cfg->mtu > SDP_MTU_SIZE) 328 p_ccb->rem_mtu_size = p_cfg->mtu;
|
/frameworks/base/services/jni/ |
com_android_server_connectivity_Vpn.cpp | 56 static int create_interface(int mtu) 77 // Set MTU if it is specified. 78 ifr4.ifr_mtu = mtu; 79 if (mtu > 0 && ioctl(inet4, SIOCSIFMTU, &ifr4)) { 80 ALOGE("Cannot set MTU on %s: %s", ifr4.ifr_name, strerror(errno)); 325 static jint create(JNIEnv *env, jobject thiz, jint mtu) 327 int tun = create_interface(mtu);
|
/external/bluetooth/bluedroid/stack/rfcomm/ |
port_api.c | 59 ** mtu - Maximum frame size the application can accept 78 UINT16 mtu, BD_ADDR bd_addr, UINT16 *p_handle, 105 RFCOMM_TRACE_API5("RFCOMM_CreateConnection(): scn:%d, dlci:%d, is_server:%d mtu:%d, p_mcb:%p", 106 scn, dlci, is_server, mtu, p_mcb); 126 RFCOMM_TRACE_API6("RFCOMM_CreateConnection(): scn:%d, dlci:%d, is_server:%d mtu:%d, p_mcb:%p, p_port:%p", 127 scn, dlci, is_server, mtu, p_mcb, p_port); 158 /* If the MTU is not specified (0), keep MTU decision until the 161 * will know for sure our prefered MTU 166 if (mtu) [all...] |
/external/iproute2/ip/ |
iplink.c | 50 fprintf(stderr, " [ mtu MTU ]\n"); 68 fprintf(stderr, " [ mtu MTU ]\n"); 252 int mtu = -1; local 293 } else if (strcmp(*argv, "mtu") == 0) { 295 if (mtu != -1) 296 duparg("mtu", *argv); 297 if (get_integer(&mtu, *argv, 0)) 298 invarg("Invalid \"mtu\" value\n", *argv) 699 int mtu = -1; local [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/bluetooth/bluedroid/stack/gatt/ |
att_protocol.c | 41 ** Description Build a exchange MTU request 59 p_buf->len = GATT_HDR_SIZE; /* opcode + 2 bytes mtu */ 102 ** Description Build a exchange MTU request 330 /* ensure data not exceed MTU size */ 425 p_cmd = attp_build_mtu_cmd(op_code, p_msg->mtu); 543 if (p_msg->mtu <= GATT_MAX_MTU_SIZE) 545 p_tcb->payload_size = p_msg->mtu; 546 p_cmd = attp_build_mtu_cmd(GATT_REQ_MTU, p_msg->mtu);
|
gatt_sr.c | 121 tGATTS_RSP *p_msg, UINT16 mtu) 129 GATT_TRACE_DEBUG2 ("process_read_multi_rsp status=%d mtu=%d", status, mtu); 149 len = sizeof(BT_HDR) + L2CAP_MIN_OFFSET + mtu; 181 if (total_len > mtu) 184 len = p_rsp->attr_value.len - (total_len - mtu); 891 ** Description This function is called to process excahnge MTU request. 899 UINT16 mtu = 0; local 904 STREAM_TO_UINT16 (mtu, p); 913 /* mtu must be greater than default MTU which is 23/48 * [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
win32socketserver.h | 72 virtual int EstimateMTU(uint16* mtu);
|
/external/chromium/third_party/libjingle/source/talk/session/tunnel/ |
pseudotcpchannel.cc | 372 uint16 mtu = 1280; // safe default local 376 mtu_socket->EstimateMTU(&mtu) < 0) { 377 LOG_F(LS_WARNING) << "Failed to estimate MTU, error=" 381 LOG_F(LS_VERBOSE) << "Using MTU of " << mtu << " bytes"; 382 tcp_->NotifyMTU(mtu);
|
/external/tcpdump/ |
print-icmp.c | 347 u_int hlen, dport, mtu, obj_tlen, obj_class_num, obj_ctype; local 416 mtu = EXTRACT_16BITS(&mp->nexthopmtu); 417 if (mtu) { 419 "%s unreachable - need to frag (mtu %d)", 420 ipaddr_string(&dp->icmp_ip.ip_dst), mtu);
|
/bionic/libc/kernel/common/linux/ |
pkt_sched.h | 82 unsigned int mtu; member in struct:tc_sizespec 121 __u32 mtu; member in struct:tc_tbf_qopt
|
/external/android-clat/ |
config.c | 249 if(!config_item_int16_t(root, "mtu", "-1", &Global_Clatd_Config.mtu)) 296 logmsg(ANDROID_LOG_DEBUG,"mtu = %d",Global_Clatd_Config.mtu);
|
/external/bluetooth/bluedroid/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);
|
/external/bluetooth/bluedroid/btif/co/ |
bta_av_co.c | 125 UINT16 mtu; /* maximum transmit unit size */ member in struct:__anon2869 645 UINT16 mtu) 651 APPL_TRACE_DEBUG2("bta_av_co_audio_open mtu:%d codec_type:%d", mtu, codec_type); 662 p_peer->mtu = mtu; 677 BTA_API void bta_av_co_audio_close(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, UINT16 mtu) [all...] |
/external/iproute2/examples/diffserv/ |
Edge2 | 44 police rate 1500kbit burst 90k mtu 9k drop flowid :1
|
/external/iproute2/include/linux/ |
pkt_sched.h | 94 unsigned int mtu; member in struct:tc_sizespec 137 __u32 mtu; member in struct:tc_tbf_qopt
|
/external/kernel-headers/original/linux/ |
pkt_sched.h | 97 unsigned int mtu; member in struct:tc_sizespec 143 __u32 mtu; member in struct:tc_tbf_qopt
|