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

12345

/external/android-clat/
H A Dconfig.h30 int16_t mtu, ipv4mtu; member in struct:clat_config
H A Dsetif.c94 * sets interface link state to up and sets mtu, returns 0 on success and <0 on failure
96 * mtu - new mtu
98 int if_up(const char *ifname, int mtu) { argument
117 if(nla_put(msg, IFLA_MTU, 4, &mtu) < 0) {
H A Dsetroute.c41 * mtu - route-specific mtu or 0 for the interface mtu
44 int if_route(const char *ifname, int family, const void *destination, int prefixlen, const void *gateway, int metric, int mtu, int change_type) { argument
119 if(mtu > 0 && change_type != ROUTE_DELETE) {
127 if(nla_put(msg, RTAX_MTU, 4, &mtu) < 0) {
/external/libppp/src/
H A Diface.h41 unsigned long mtu; /* struct tuninfo MTU */ member in struct:iface
/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/bluetooth/bluedroid/stack/avct/
H A Davct_api.c54 void AVCT_Register(UINT16 mtu, UINT16 mtu_br, UINT8 sec_mask) argument
86 if (mtu < AVCT_MIN_CONTROL_MTU)
87 mtu = AVCT_MIN_CONTROL_MTU;
88 /* store mtu */
89 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:__anon1075
/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
104 void RFCOMM_DlcEstablishRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result) argument
129 void RFCOMM_ParNegReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) argument
163 rfc_send_pn (p_mcb, dlci, TRUE, mtu, cl, k);
177 void RFCOMM_ParNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) argument
183 rfc_send_pn (p_mcb, dlci, FALSE, mtu, cl, k);
H A Dport_rfc.c77 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu);
215 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu);
293 void PORT_ParNegInd (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) argument
299 RFCOMM_TRACE_EVENT2 ("PORT_ParNegInd dlci:%d mtu:%d", dlci, mtu);
324 p_port->mtu = (p_port->mtu < mtu) ? p_port->mtu : mtu;
384 PORT_ParNegCnf(tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) argument
445 PORT_DlcEstablishInd(tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) argument
497 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/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/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.c85 bnep_cb.l2cap_my_cfg.mtu = BNEP_MTU_SIZE;
217 UINT16 result, mtu = 0; local
229 if ((!p_cfg->mtu_present) || (p_cfg->mtu < BNEP_MIN_MTU_SIZE))
231 mtu = p_cfg->mtu;
234 p_cfg->mtu = BNEP_MIN_MTU_SIZE;
239 if (p_cfg->mtu > BNEP_MTU_SIZE)
242 p_bcb->rem_mtu_size = p_cfg->mtu;
254 BNEP_TRACE_EVENT2 ("BNEP - Rcvd cfg ind with bad MTU %d, CID: 0x%x", mtu, l2cap_cid);
/external/chromium/third_party/libjingle/source/talk/base/
H A Dasyncsocket.h104 virtual int EstimateMTU(uint16* mtu) { argument
105 return socket_->EstimateMTU(mtu);
/external/chromium_org/ppapi/proxy/
H A Dserialized_structs.h71 int mtu; member in struct:ppapi::proxy::SerializedNetworkInfo
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dasyncsocket.h112 virtual int EstimateMTU(uint16* mtu) { argument
113 return socket_->EstimateMTU(mtu);

Completed in 521 milliseconds

12345