/external/android-clat/ |
setif.h | 22 int if_up(const char *ifname, int mtu);
|
config.h | 30 int16_t mtu, ipv4mtu; member in struct:clat_config
|
/system/core/include/netutils/ |
dhcp.h | 35 char *mtu); 45 char *mtu);
|
/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 89 } else if (strcmp(*argv, "mtu") == 0 || 92 if (mtu) { 93 fprintf(stderr, "Double \"mtu/minburst\" spec\n"); 96 if (get_size_and_cell(&mtu, &Pcell_log, *argv) < 0) { 97 explain1("mtu"); 169 if (!mtu) { 170 fprintf(stderr, "\"mtu\" is required, if \"peakrate\" is requested.\n"); 183 double lim2 = opt.peakrate.rate*(double)latency/TIME_UNITS_PER_SEC + mtu; 222 double buffer, mtu; local [all...] |
tc_core.c | 110 int cell_log, unsigned mtu, 118 if (mtu == 0) 119 mtu = 2047; 123 while ((mtu >> cell_log) > 255) 149 s->mtu = 0; 157 if (s->mtu == 0) 158 s->mtu = 2047; 163 while ((s->mtu >> s->cell_log) > s->tsize - 1)
|
tc_core.h | 24 int cell_log, unsigned mtu, enum link_layer link_layer);
|
m_police.c | 37 fprintf(stderr, "Usage: ... police rate BPS burst BYTES[/BYTES] [ mtu BYTES[/BYTES] ]\n"); 136 unsigned buffer=0, mtu=0, mpu=0; local 171 } else if (strcmp(*argv, "mtu") == 0 || 174 if (mtu) { 175 fprintf(stderr, "Double \"mtu/minburst\" spec\n"); 178 if (get_size_and_cell(&mtu, &Pcell_log, *argv) < 0) { 179 explain1("mtu"); 271 if (!mtu) { 272 fprintf(stderr, "\"mtu\" is required, if \"peakrate\" is requested.\n"); 280 if (tc_calc_rtable(&p.rate, rtab, Rcell_log, mtu, linklayer) < 0) [all...] |
/system/netd/server/ |
InterfaceController.h | 26 int setMtu(const char *interface, const char *mtu);
|
InterfaceController.cpp | 112 int InterfaceController::setMtu(const char *interface, const char *mtu) 119 asprintf(&path, "%s/%s/mtu", sys_net_path, interface); 120 int success = writeFile(path, mtu, strlen(mtu));
|
/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...] |
tracepath.c | 52 int mtu = 65535; variable 127 progress = mtu; 211 mtu = e->ee_info; 212 progress = mtu; 263 memset(pktbuf, 0, mtu); 273 if (sendto(fd, pktbuf, mtu-overhead, 0, (struct sockaddr*)&target, sizeof(target)) > 0) 286 if (recv(fd, pktbuf, mtu, MSG_DONTWAIT) > 0) { 328 if ((mtu = atoi(optarg)) <= overhead) { 411 pktbuf = malloc(mtu); 431 old_mtu = mtu; [all...] |
/external/libvpx/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...] |
/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...] |
/external/bluetooth/bluedroid/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/chromium_org/third_party/webrtc/video_engine/include/ |
vie_network.h | 77 // This function sets the Maximum Transition Unit (MTU) for a channel. The 78 // RTP packet will be packetized based on this MTU to optimize performance 80 virtual int SetMTU(int video_channel, unsigned int mtu) = 0;
|
/external/chromium_org/third_party/webrtc/video_engine/ |
vie_network_impl.h | 40 virtual int SetMTU(int video_channel, unsigned int mtu);
|
/external/dhcpcd/dhcpcd-hooks/ |
Makefile | 7 SCRIPTS+= 10-mtu 20-resolv.conf 29-lookup-hostname 30-hostname
|
/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) {
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
sctp_cc_functions.c | 69 net->cwnd = min((net->mtu * 4), max((2 * net->mtu), SCTP_INITIAL_CWND)); 77 net->cwnd = (net->mtu - sizeof(struct sctphdr)) * cwnd_in_mtu; 83 if (net->cwnd < (net->mtu - sizeof(struct sctphdr))) { 84 net->cwnd = net->mtu - sizeof(struct sctphdr); 147 (uint64_t)net->mtu * 162 (uint64_t)net->mtu * 172 if (net->ssthresh < net->mtu) { 173 net->ssthresh = net->mtu; 177 if (net->ssthresh < (net->mtu * 2)) [all...] |
/external/bluetooth/bluedroid/stack/rfcomm/ |
rfc_port_if.c | 82 void RFCOMM_DlcEstablishReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) 85 UNUSED(mtu); 105 void RFCOMM_DlcEstablishRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result) 108 UNUSED(mtu); 131 void RFCOMM_ParNegReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) 165 rfc_send_pn (p_mcb, dlci, TRUE, mtu, cl, k); 179 void RFCOMM_ParNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) 185 rfc_send_pn (p_mcb, dlci, FALSE, mtu, cl, k);
|
port_rfc.c | 73 /* Connection is up and we know local and remote features, select MTU */ 78 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu); 216 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu); 289 ** DLCI parameters (currently only MTU is negotiated). 291 ** Otherwise save the MTU size supported by the peer. 294 void PORT_ParNegInd (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) 300 RFCOMM_TRACE_EVENT ("PORT_ParNegInd dlci:%d mtu:%d", dlci, mtu); 321 /* Connection is up and we know local and remote features, select MTU */ 325 p_port->mtu = (p_port->mtu < mtu) ? p_port->mtu : mtu [all...] |
/external/libnl/src/lib/ |
link.c | 51 uint32_t mtu = nl_cli_parse_u32(arg); local 52 rtnl_link_set_mtu(link, mtu);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
ApnSetting.java | 51 public final int mtu; field in class:ApnSetting 94 int mtu, String mvnoType, String mvnoMatchData) { 120 this.mtu = mtu; 148 * <profileId>, <modemCognitive>, <maxConns>, <waitTime>, <maxConnsTime>, <mtu>, 190 int mtu = PhoneConstants.UNSET_MTU; local 226 mtu = Integer.parseInt(a[23]); 238 profileId, modemCognitive, maxConns, waitTime, maxConnsTime, mtu, 294 sb.append(", ").append(mtu);
|
/external/libnl/lib/route/sch/ |
htb.c | 201 nl_dump(p, " mtu %u", d->ch_mtu); 255 static uint8_t compute_cell(uint32_t rate, uint32_t mtu) 258 while (mtu > 255) { 259 mtu >>= 1; 269 uint32_t mtu, rtable[RTNL_TC_RTABLE_SIZE], ctable[RTNL_TC_RTABLE_SIZE]; local 286 mtu = d->ch_mtu; 288 mtu = 1600; /* eth packet len */ 296 opts.rate.cell_log = compute_cell(opts.rate.rate, mtu); 305 opts.ceil.cell_log = compute_cell(opts.ceil.rate, mtu); 310 buffer = opts.rate.rate / nl_get_hz() + mtu; [all...] |
/external/tcpdump/ |
print-igrp.c | 48 u_int metric, mtu; local 65 mtu = EXTRACT_16BITS(igr->igr_mtu); 67 printf(" d=%d b=%d r=%d l=%d M=%d mtu=%d in %d hops", 70 mtu, igr->igr_hct);
|