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

123

/system/netd/server/
H A DInterfaceController.h27 int setMtu(const char *interface, const char *mtu);
H A DInterfaceController.cpp169 int InterfaceController::setMtu(const char *interface, const char *mtu) argument
175 return writeValueToPath(sys_net_path, interface, "mtu", mtu);
/system/extras/tests/net_test/
H A Dnet_test.sh8 ip link set lo mtu 16436
/system/core/include/netutils/
H A Ddhcp.h37 char *mtu);
/system/bt/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);
H A Dbta_hl_api.h272 UINT16 mtu; member in struct:__anon426
511 UINT16 mtu; member in struct:__anon451
525 UINT16 mtu; member in struct:__anon452
/system/bt/stack/rfcomm/
H A Drfc_port_if.c82 void RFCOMM_DlcEstablishReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) argument
84 UNUSED(mtu);
110 void RFCOMM_DlcEstablishRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result) argument
112 UNUSED(mtu);
140 void RFCOMM_ParNegReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) argument
180 rfc_send_pn (p_mcb, dlci, TRUE, mtu, cl, k);
194 void RFCOMM_ParNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) argument
200 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 Dport_utils.c148 if (p_port->mtu == 0)
156 p_port->mtu = RFCOMM_DEFAULT_MTU;
170 p_port->mtu = ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) / packet_size * packet_size) - RFCOMM_DATA_OVERHEAD - L2CAP_PKT_OVERHEAD;
171 RFCOMM_TRACE_DEBUG ("port_select_mtu selected %d based on connection speed", p_port->mtu);
175 p_port->mtu = L2CAP_MTU_SIZE - RFCOMM_DATA_OVERHEAD;
176 RFCOMM_TRACE_DEBUG ("port_select_mtu selected %d based on l2cap PDU size", p_port->mtu);
182 RFCOMM_TRACE_DEBUG ("port_select_mtu application selected %d", p_port->mtu);
184 p_port->credit_rx_max = (PORT_RX_HIGH_WM / p_port->mtu);
187 p_port->credit_rx_low = (PORT_RX_LOW_WM / p_port->mtu);
190 p_port->rx_buf_critical = (PORT_RX_CRITICAL_WM / p_port->mtu);
[all...]
H A Drfc_int.h51 extern void RFCOMM_DlcEstablishReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu);
52 extern void RFCOMM_DlcEstablishRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result);
58 extern void RFCOMM_ParNegReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu);
59 extern void RFCOMM_ParNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k);
96 UINT16 mtu; member in struct:__anon1249::__anon1250::__anon1251
330 extern void rfc_send_pn (tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN is_command, UINT16 mtu,
360 extern void PORT_DlcEstablishInd (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu);
361 extern void PORT_DlcEstablishCnf (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result);
367 extern void PORT_ParNegInd (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k);
368 extern void PORT_ParNegCnf (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT
[all...]
H A Dport_api.c91 ** mtu - Maximum frame size the application can accept
110 UINT16 mtu, BD_ADDR bd_addr, UINT16 *p_handle,
139 RFCOMM_TRACE_API("RFCOMM_CreateConnection(): scn:%d, dlci:%d, is_server:%d mtu:%d, p_mcb:%p",
140 scn, dlci, is_server, mtu, p_mcb);
160 RFCOMM_TRACE_API("RFCOMM_CreateConnection(): scn:%d, dlci:%d, is_server:%d mtu:%d, p_mcb:%p, p_port:%p",
161 scn, dlci, is_server, mtu, p_mcb, p_port);
200 if (mtu)
201 p_port->mtu = (mtu < rfcomm_mtu) ? mtu
109 RFCOMM_CreateConnection(UINT16 uuid, UINT8 scn, BOOLEAN is_server, UINT16 mtu, BD_ADDR bd_addr, UINT16 *p_handle, tPORT_CALLBACK *p_mgmt_cb) argument
[all...]
/system/bt/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_l2c.c157 cfg.mtu = avct_cb.mtu;
200 cfg.mtu = avct_cb.mtu;
297 /* store the mtu in tbl */
300 p_lcb->peer_mtu = p_cfg->mtu;
/system/core/libnetutils/
H A Ddhcp_utils.c98 char *mtu)
164 snprintf(prop_name, sizeof(prop_name), "%s.%s.mtu", DHCP_PROP_NAME_PREFIX,
166 property_get(prop_name, mtu, NULL);
183 char *mtu)
202 server, lease, vendorInfo, domain, mtu) == -1) {
89 fill_ip_info(const char *interface, char *ipaddr, char *gateway, uint32_t *prefixLength, char *dns[], char *server, uint32_t *lease, char *vendorInfo, char *domain, char *mtu) argument
174 dhcp_get_results(const char *interface, char *ipaddr, char *gateway, uint32_t *prefixLength, char *dns[], char *server, uint32_t *lease, char *vendorInfo, char *domain, char *mtu) argument
/system/bt/stack/avdt/
H A Davdt_l2c.c109 cfg.mtu = p_tbl->my_mtu;
154 cfg.mtu = p_tbl->my_mtu;
263 cfg.mtu = p_tbl->my_mtu;
305 cfg.mtu = p_tbl->my_mtu;
403 /* store the mtu in tbl */
406 p_tbl->peer_mtu = p_cfg->mtu;
/system/bt/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);
/system/bt/bta/hl/
H A Dbta_hl_utils.c175 UINT8 bta_hl_set_user_rx_pool_id(UINT16 mtu) argument
179 if (mtu > GKI_get_pool_bufsize (HCI_ACL_POOL_ID))
189 APPL_TRACE_DEBUG("bta_hl_set_user_rx_pool_id pool_id=%d mtu=%d default_ertm_pool_size=%d",
190 pool_id, mtu, GKI_get_pool_bufsize (HCI_ACL_POOL_ID));
207 UINT8 bta_hl_set_tx_win_size(UINT16 mtu, UINT16 mps) argument
211 if (mtu <= mps)
219 tx_win_size = (mtu/mps)+1;
229 APPL_TRACE_DEBUG("bta_hl_set_tx_win_size win_size=%d mtu=%d mps=%d",
230 tx_win_size, mtu, mps);
244 UINT16 bta_hl_set_mps(UINT16 mtu) argument
3215 bta_hl_build_dch_open_cfm(tBTA_HL *p_evt_data, tBTA_HL_APP_HANDLE app_handle, tBTA_HL_MCL_HANDLE mcl_handle, tBTA_HL_MDL_HANDLE mdl_handle, tBTA_HL_MDEP_ID local_mdep_id, tBTA_HL_MDL_ID mdl_id, tBTA_HL_DCH_MODE dch_mode, BOOLEAN first_reliable, UINT16 mtu, tBTA_HL_STATUS status) argument
[all...]
/system/bt/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);
/system/bt/stack/include/
H A Davct_api.h142 extern void AVCT_Register(UINT16 mtu, UINT16 mtu_br, UINT8 sec_mask);
/system/bt/stack/mcap/
H A Dmca_dact.c72 evt_data.open_cfm.mtu = p_data->open.peer_mtu;
/system/core/toolbox/
H A Diftop.c57 unsigned int mtu; member in struct:if_stats
168 ifs->mtu = get_mtu(ifs->name);
203 new->name, new->mtu,
/system/bt/stack/sdp/
H A Dsdp_main.c88 sdp_cb.l2cap_my_cfg.mtu = SDP_MTU_SIZE;
152 if (max_size > (sdp_cb.l2cap_my_cfg.mtu - 16) )
153 max_size = sdp_cb.l2cap_my_cfg.mtu - 16;
327 if (p_cfg->mtu > SDP_MTU_SIZE)
330 p_ccb->rem_mtu_size = p_cfg->mtu;
/system/bt/stack/gatt/
H A Datt_protocol.c59 p_buf->len = GATT_HDR_SIZE; /* opcode + 2 bytes mtu */
426 p_cmd = attp_build_mtu_cmd(op_code, p_msg->mtu);
544 if (p_msg->mtu <= GATT_MAX_MTU_SIZE)
546 p_tcb->payload_size = p_msg->mtu;
547 p_cmd = attp_build_mtu_cmd(GATT_REQ_MTU, p_msg->mtu);
/system/bt/btif/co/
H A Dbta_av_co.c143 UINT16 mtu; /* maximum transmit unit size */ member in struct:__anon582
896 UINT16 mtu)
903 APPL_TRACE_DEBUG("bta_av_co_audio_open mtu:%d codec_type:%d", mtu, codec_type);
914 p_peer->mtu = mtu;
929 void bta_av_co_audio_close(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, UINT16 mtu) argument
934 UNUSED(mtu);
1689 if (p_peer->mtu < *p_minmtu)
1691 *p_minmtu = p_peer->mtu;
895 bta_av_co_audio_open(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, UINT8 *p_codec_info, UINT16 mtu) argument
[all...]

Completed in 246 milliseconds

123