Searched refs:mtu (Results 1 - 25 of 199) sorted by relevance

12345678

/external/android-clat/
H A Dsetif.h22 int if_up(const char *ifname, int mtu);
H A Dconfig.h28 int16_t mtu, ipv4mtu; member in struct:clat_config
/external/iproute2/tc/
H A Dq_tbf.c28 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...]
H A Dtc_core.c110 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)
109 tc_calc_rtable(struct tc_ratespec *r, __u32 *rtab, int cell_log, unsigned mtu, enum link_layer linklayer) argument
H A Dtc_core.h24 int cell_log, unsigned mtu, enum link_layer link_layer);
H A Dm_police.c37 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, linklaye
[all...]
H A Dtc_stab.c33 "Usage: ... stab [ mtu BYTES ] [ tsize SLOTS ] [ mpu BYTES ] \n"
35 " mtu : max packet size we create rate map for {2047}\n"
65 if (matches(*argv, "mtu") == 0) {
67 if (s.mtu)
68 duparg("mtu", *argv);
69 if (get_u32(&s.mtu, *argv, 10)) {
70 invarg("mtu", "invalid mtu");
139 if (s.mtu)
140 fprintf(fp, "mtu
[all...]
/external/iputils/
H A Dtracepath6.c64 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
[all...]
H A Dtracepath.c52 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/bluetooth/bluedroid/bta/include/
H A Dbta_ar_api.h99 extern void bta_ar_reg_avct(UINT16 mtu, UINT16 mtu_br, UINT8 sec_mask, tBTA_SYS_ID sys_id);
H A Dbta_av_co.h189 ** If this is the 2nd audio stream, mtu is the smaller of the 2
197 UINT16 mtu);
212 UINT16 mtu);
222 ** mtu is reported as 0.
229 UINT16 mtu);
243 UINT16 mtu);
/external/dhcpcd/dhcpcd-hooks/
H A DMakefile7 SCRIPTS+= 10-mtu 20-resolv.conf 29-lookup-hostname 30-hostname
/external/libvpx/libvpx/examples/
H A Ddecode_with_partial_drops.c109 int next_packet(struct parsed_header* hdr, int pos, int length, int mtu) argument
119 if (remainFirst <= mtu)
125 size = 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)
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_cc_functions.c69 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 *
[all...]
/external/bluetooth/bluedroid/stack/rfcomm/
H A Drfc_port_if.c82 void RFCOMM_DlcEstablishReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) argument
85 UNUSED(mtu);
105 void RFCOMM_DlcEstablishRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result) argument
108 UNUSED(mtu);
131 void RFCOMM_ParNegReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) argument
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) argument
185 rfc_send_pn (p_mcb, dlci, FALSE, mtu, cl, k);
H A Dport_rfc.c78 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu);
216 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu);
294 void PORT_ParNegInd (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) argument
300 RFCOMM_TRACE_EVENT ("PORT_ParNegInd dlci:%d mtu:%d", dlci, mtu);
325 p_port->mtu = (p_port->mtu < mtu) ? p_port->mtu : mtu;
385 PORT_ParNegCnf(tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) argument
446 PORT_DlcEstablishInd(tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) argument
498 PORT_DlcEstablishCnf(tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result) argument
[all...]
/external/libnl/src/lib/
H A Dlink.c51 uint32_t mtu = nl_cli_parse_u32(arg); local
52 rtnl_link_set_mtu(link, mtu);
/external/libnl/lib/route/sch/
H A Dhtb.c201 nl_dump(p, " mtu %u", d->ch_mtu);
255 static uint8_t compute_cell(uint32_t rate, uint32_t mtu) argument
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;
396 rtnl_htb_set_mtu(struct rtnl_class *class, uint32_t mtu) argument
[all...]
/external/tcpdump/
H A Dprint-igrp.c48 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);
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/
H A Dpacket_loss_test.cc230 int PacketLossTest::NextPacket(int mtu, unsigned char **pkg) argument
234 if (static_cast<long>(_frameToDecode->_frame->Length()) - _inBufIdx <= mtu)
240 _inBufIdx += mtu;
241 return mtu;
/external/chromium_org/third_party/webrtc/video_engine/include/
H A Dvie_network.h80 virtual int SetMTU(int video_channel, unsigned int mtu) = 0;
/external/chromium_org/third_party/webrtc/video_engine/
H A Dvie_network_impl.h40 virtual int SetMTU(int video_channel, unsigned int mtu);
/external/kernel-headers/original/uapi/linux/
H A Datmbr2684.h58 int mtu; member in struct:atm_newif_br2684
H A Dicmp.h80 __be16 mtu; member in struct:icmphdr::__anon23026::__anon23028
H A Dif_frad.h89 short mtu; member in struct:frad_conf

Completed in 5189 milliseconds

12345678