Searched defs:mtu (Results 1 - 25 of 119) sorted by relevance

12345

/external/android-clat/
H A Dconfig.h28 int16_t mtu, ipv4mtu; member in struct:clat_config
H A Dsetif.c97 * sets interface link state to up and sets mtu, returns 0 on success and <0 on failure
99 * mtu - new mtu
101 int if_up(const char *ifname, int mtu) { argument
120 if(nla_put(msg, IFLA_MTU, 4, &mtu) < 0) {
/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/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);
H A Dprint-vtp.c56 u_int16_t mtu; member in struct:vtp_vlan_
253 EXTRACT_16BITS(&vtp_vlan->mtu),
/external/bluetooth/bluedroid/stack/avct/
H A Davct_api.c55 void AVCT_Register(UINT16 mtu, UINT16 mtu_br, UINT8 sec_mask) argument
89 if (mtu < AVCT_MIN_CONTROL_MTU)
90 mtu = AVCT_MIN_CONTROL_MTU;
91 /* store mtu */
92 avct_cb.mtu = mtu;
H A Davct_int.h63 UINT16 peer_mtu; /* peer l2c mtu */
74 UINT16 peer_mtu; /* peer l2c mtu */
90 UINT16 peer_mtu; /* peer l2c mtu */
135 UINT16 mtu; /* our L2CAP MTU */ member in struct:__anon1199
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
H A Dr200_cmdbuf.c57 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)
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_cmdbuf.c57 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)
/external/bluetooth/bluedroid/bta/ar/
H A Dbta_ar.c203 void bta_ar_reg_avct(UINT16 mtu, UINT16 mtu_br, UINT8 sec_mask, tBTA_SYS_ID sys_id) argument
211 AVCT_Register(mtu, mtu_br, sec_mask);
/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...]
H A Drfc_ts_frames.c231 void rfc_send_pn (tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN is_command, UINT16 mtu, UINT8 cl, UINT8 k) argument
257 *p_data++ = mtu & 0xFF;
258 *p_data++ = mtu >> 8;
749 p_rx_frame->u.pn.mtu = *p_data + (*(p_data + 1) << 8);
756 || (p_rx_frame->u.pn.mtu < RFCOMM_MIN_MTU)
757 || (p_rx_frame->u.pn.mtu > RFCOMM_MAX_MTU))
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
H A Dradeon_ioctl.c67 int i, mtu = rmesa->radeon.glCtx->Const.MaxTextureUnits; local
79 for (i = 0; i < mtu; ++i) {
86 for (i = 0; i < 3 + mtu; ++i)
/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/
H A Dvie_network_impl.cc136 int ViENetworkImpl::SetMTU(int video_channel, unsigned int mtu) { argument
137 LOG_F(LS_INFO) << "channel: " << video_channel << " mtu: " << mtu; local
144 if (vie_channel->SetMTU(mtu) != 0) {
/external/iproute2/tc/
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 Dq_htb.c39 " [ceil R2] [cburst B2] [mtu MTU] [quantum Q]\n"
47 " mtu max packet size we create rate map for {1600}\n"
108 unsigned mtu; local
114 memset(&opt, 0, sizeof(opt)); mtu = 1600; /* eth packet len */
123 } else if (matches(*argv, "mtu") == 0) {
125 if (get_u32(&mtu, *argv, 10)) {
126 explain1("mtu"); return -1;
209 /* compute minimal allowed burst from rate; mtu is added here to make
210 sute that buffer is larger than mtu and to have some safeguard space */
211 if (!buffer) buffer = opt.rate.rate / get_hz() + mtu;
[all...]
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
/external/kernel-headers/original/uapi/rdma/
H A Dib_user_sa.h62 __u32 mtu; member in struct:ib_user_path_rec
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_ioctl.c67 int i, mtu = rmesa->radeon.glCtx->Const.MaxTextureUnits; local
79 for (i = 0; i < mtu; ++i) {
86 for (i = 0; i < 3 + mtu; ++i)
/external/ppp/pppd/plugins/pppoatm/
H A Dpppoatm.c172 static void send_config_pppoa(int mtu, argument
179 if (mtu > pppoatm_max_mtu)
180 error("Couldn't increase MTU to %d", mtu);
185 ifr.ifr_mtu = mtu;
/external/ppp/pppd/plugins/rp-pppoe/
H A Dplugin.c185 PPPOESendConfig(int mtu, argument
193 if (mtu > MAX_PPPOE_MTU) {
194 warn("Couldn't increase MTU to %d", mtu);
195 mtu = MAX_PPPOE_MTU;
203 ifr.ifr_mtu = mtu;
205 error("Couldn't set interface MTU to %d: %m", mtu);
/external/bluetooth/bluedroid/stack/bnep/
H A Dbnep_main.c86 bnep_cb.l2cap_my_cfg.mtu = BNEP_MTU_SIZE;
219 UINT16 result, mtu = 0; local
231 if ((!p_cfg->mtu_present) || (p_cfg->mtu < BNEP_MIN_MTU_SIZE))
233 mtu = p_cfg->mtu;
236 p_cfg->mtu = BNEP_MIN_MTU_SIZE;
241 if (p_cfg->mtu > BNEP_MTU_SIZE)
244 p_bcb->rem_mtu_size = p_cfg->mtu;
256 BNEP_TRACE_EVENT ("BNEP - Rcvd cfg ind with bad MTU %d, CID: 0x%x", mtu, l2cap_cid);

Completed in 1409 milliseconds

12345