HomeSort by relevance Sort by last modified time
    Searched refs:mtu (Results 1 - 25 of 311) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/android-clat/
setif.h 22 int if_up(const char *ifname, int mtu);
setroute.h 25 int if_route(const char *ifname, int family, const void *destination, int cidr, const void *gateway, int metric, int mtu, int change_type);
config.h 28 int16_t mtu, ipv4mtu; member in struct:clat_config
Android.mk 4 LOCAL_SRC_FILES:=clatd.c dump.c checksum.c translate.c icmp.c ipv4.c ipv6.c config.c dns64.c logging.c getaddr.c getroute.c netlink_callbacks.c netlink_msg.c setif.c setroute.c mtu.c
clatd.c 58 #include "mtu.h"
208 if((status = if_up(tunnel->device6, Global_Clatd_Config.mtu)) < 0) {
271 if(Global_Clatd_Config.mtu > MAXMTU) {
272 logmsg(ANDROID_LOG_WARN,"Max MTU is %d, requested %d", MAXMTU, Global_Clatd_Config.mtu);
273 Global_Clatd_Config.mtu = MAXMTU;
275 if(Global_Clatd_Config.mtu <= 0) {
276 Global_Clatd_Config.mtu = getifmtu(Global_Clatd_Config.default_pdp_interface);
277 logmsg(ANDROID_LOG_WARN,"ifmtu=%d",Global_Clatd_Config.mtu);
279 if(Global_Clatd_Config.mtu < 1280)
    [all...]
setroute.c 41 * 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) {
119 if(mtu > 0 && change_type != ROUTE_DELETE) {
120 // MTU is inside an RTA_METRICS nested message
127 if(nla_put(msg, RTAX_MTU, 4, &mtu) < 0) {
  /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...]
tc_stab.c 33 "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 %u ", s.mtu)
    [all...]
  /system/bluetooth/bluez-clean-headers/bluetooth/
sco.h 39 uint16_t mtu; member in struct:sco_options
  /external/bluetooth/bluedroid/stack/rfcomm/
port_rfc.c 72 /* Connection is up and we know local and remote features, select MTU */
77 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu);
215 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu);
288 ** DLCI parameters (currently only MTU is negotiated).
290 ** Otherwise save the MTU size supported by the peer.
293 void PORT_ParNegInd (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k)
299 RFCOMM_TRACE_EVENT2 ("PORT_ParNegInd dlci:%d mtu:%d", dlci, mtu);
320 /* Connection is up and we know local and remote features, select MTU */
324 p_port->mtu = (p_port->mtu < mtu) ? p_port->mtu : mtu
    [all...]
  /external/libppp/src/
tun.c 98 ifr.ifr_mtu = bundle->iface->mtu;
109 info.mtu = bundle->iface->mtu;
iface.h 41 unsigned long mtu; /* struct tuninfo MTU */ member in struct:iface
tcpmss.c 73 #define MAXMSS(mtu) ((mtu) - sizeof(struct ip) - sizeof(struct tcphdr) - 12)
165 MAXMSS(bundle->iface->mtu));
  /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);
bta_av_co.h 188 ** BTA-AV maintains the MTU of A2DP streams.
189 ** If this is the 2nd audio stream, mtu is the smaller of the 2
197 UINT16 mtu);
212 UINT16 mtu);
220 ** BTA-AV maintains the MTU of A2DP streams.
222 ** mtu is reported as 0.
223 ** Otherwise, the MTU remains open is reported.
229 UINT16 mtu);
243 UINT16 mtu);
  /external/dhcpcd/dhcpcd-hooks/
Makefile 7 SCRIPTS+= 10-mtu 20-resolv.conf 29-lookup-hostname 30-hostname
  /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);
  /frameworks/base/core/java/com/android/internal/net/
VpnConfig.java 63 public int mtu = -1; field in class:VpnConfig
82 out.writeInt(mtu);
100 config.mtu = in.readInt();
  /bionic/libc/kernel/common/linux/
icmp.h 84 __u16 mtu; member in struct:icmphdr::__anon334::__anon336
  /development/ndk/platforms/android-3/include/linux/
icmp.h 70 __u16 mtu; member in struct:icmphdr::__anon1012::__anon1014
  /external/kernel-headers/original/linux/
icmp.h 80 __u16 mtu; member in struct:icmphdr::__anon9713::__anon9715
  /external/ppp/pppd/plugins/pppoatm/
pppoatm.c 172 static void send_config_pppoa(int mtu,
179 if (mtu > pppoatm_max_mtu)
180 error("Couldn't increase MTU to %d", mtu);
185 ifr.ifr_mtu = mtu;

Completed in 475 milliseconds

1 2 3 4 5 6 7 8 91011>>