tag | line | file | source code |
mtu | 1336 | drivers/net/3c505.c | dev->mtu = 1500; /* eth_mtu */ |
mtu | 554 | drivers/net/arcnet.c | dev->mtu=512-sizeof(struct HardHeader)+EXTRA_CLIENTDATA; |
mtu | 101 | drivers/net/loopback.c | dev->mtu = 2000; /* MTU */ |
mtu | 188 | drivers/net/net_init.c | dev->mtu = 1500; /* eth_mtu */ |
mtu | 531 | drivers/net/plip.c | if (rcv->length.h > dev->mtu || rcv->length.h < 8) { |
mtu | 889 | drivers/net/plip.c | if (skb->len > dev->mtu) { |
mtu | 272 | drivers/net/ppp.c | dev->mtu = PPP_MTU; |
mtu | 314 | drivers/net/ppp.c | ppp->mtu = PPP_MTU; |
mtu | 372 | drivers/net/ppp.c | int mtu, mru; |
mtu | 378 | drivers/net/ppp.c | mtu = new_mtu; |
mtu | 384 | drivers/net/ppp.c | mtu = (mtu * 2) + 20; |
mtu | 390 | drivers/net/ppp.c | new_xbuff = (unsigned char *) kmalloc(mtu + 4, GFP_ATOMIC); |
mtu | 426 | drivers/net/ppp.c | dev->mem_end = (unsigned long) (dev->mem_start + mtu); |
mtu | 443 | drivers/net/ppp.c | ppp->mtu = |
mtu | 444 | drivers/net/ppp.c | dev->mtu = new_mtu; |
mtu | 551 | drivers/net/ppp.c | ppp_changedmtu (ppp, ppp->dev->mtu, ppp->mru); |
mtu | 1339 | drivers/net/ppp.c | if (ppp->mtu != ppp->dev->mtu) /* Someone has been ifconfigging */ |
mtu | 1340 | drivers/net/ppp.c | ppp_changedmtu (ppp, ppp->dev->mtu, ppp->mru); |
mtu | 1342 | drivers/net/ppp.c | if (nr > ppp->mtu) { |
mtu | 1345 | drivers/net/ppp.c | nr, ppp->mtu)); |
mtu | 1346 | drivers/net/ppp.c | nr = ppp->mtu; |
mtu | 1427 | drivers/net/ppp.c | ppp_changedmtu (ppp, ppp->dev->mtu, temp_i); |
mtu | 165 | drivers/net/slip.c | len = dev->mtu * 2; |
mtu | 188 | drivers/net/slip.c | dev->mtu = sl->mtu; |
mtu | 233 | drivers/net/slip.c | sl->mtu = dev->mtu + 73; |
mtu | 235 | drivers/net/slip.c | sl->mtu = dev->mtu; |
mtu | 337 | drivers/net/slip.c | if (sl->mtu != sl->dev->mtu + 73) { /* Someone has been ifconfigging */ |
mtu | 339 | drivers/net/slip.c | if (sl->mtu != sl->dev->mtu) { /* Someone has been ifconfigging */ |
mtu | 344 | drivers/net/slip.c | if (len > sl->mtu) { /* Sigh, shouldn't occur BUT ... */ |
mtu | 345 | drivers/net/slip.c | len = sl->mtu; |
mtu | 530 | drivers/net/slip.c | len = dev->mtu * 2; |
mtu | 559 | drivers/net/slip.c | sl->mtu = dev->mtu + 73; |
mtu | 561 | drivers/net/slip.c | sl->mtu = dev->mtu; |
mtu | 639 | drivers/net/slip.c | if (sl->mtu != sl->dev->mtu + 73) { |
mtu | 641 | drivers/net/slip.c | if (sl->mtu != sl->dev->mtu) { |
mtu | 1104 | drivers/net/slip.c | dev->mtu = SL_MTU; |
mtu | 81 | drivers/net/slip.h | int mtu; /* Our mtu (to spot changes!) */ |
mtu | 916 | drivers/net/wavelan.c | dev->mtu = WAVELAN_MTU; |
mtu | 108 | include/linux/netdevice.h | unsigned short mtu; /* interface MTU value */ |
mtu | 183 | include/linux/ppp.h | int mtu; /* maximum xmit frame size */ |
mtu | 663 | net/inet/af_inet.c | sk->mtu = 576; |
mtu | 1182 | net/inet/dev.c | ifr.ifr_mtu = dev->mtu; |
mtu | 1195 | net/inet/dev.c | dev->mtu = ifr.ifr_mtu; |
mtu | 1091 | net/inet/ip.c | int left, mtu, hlen, len; |
mtu | 1111 | net/inet/ip.c | mtu = (dev->mtu - hlen); /* Size of data space */ |
mtu | 1124 | net/inet/ip.c | icmp_send(skb,ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, dev->mtu, dev); |
mtu | 1134 | net/inet/ip.c | if(mtu<8) |
mtu | 1137 | net/inet/ip.c | icmp_send(skb,ICMP_DEST_UNREACH,ICMP_FRAG_NEEDED,dev->mtu, dev); |
mtu | 1165 | net/inet/ip.c | if (len > mtu) |
mtu | 1166 | net/inet/ip.c | len = mtu; |
mtu | 1420 | net/inet/ip.c | if(skb2->len > dev2->mtu + dev2->hard_header_len) |
mtu | 1841 | net/inet/ip.c | if(skb->len > dev->mtu + dev->hard_header_len) |
mtu | 1391 | net/inet/ipx.c | sk->mtu=IPX_MTU; |
mtu | 183 | net/inet/packet.c | if(len>dev->mtu+dev->hard_header_len) |
mtu | 204 | net/inet/route.c | unsigned long gw, struct device *dev, unsigned short mtu, unsigned long window) |
mtu | 276 | net/inet/route.c | rt->rt_mss = dev->mtu - HEADER_SIZE; |
mtu | 282 | net/inet/route.c | rt->rt_mss = mtu; |
mtu | 115 | net/inet/sock.h | unsigned short mtu; /* mss negotiated in the syn's */ |
mtu | 943 | net/inet/tcp.c | if (sk->prot->wspace(sk) < sk->mtu+128+sk->prot->max_header) |
mtu | 1622 | net/inet/tcp.c | skb = prot->wmalloc(sk, sk->mtu + 128 + prot->max_header, 0, GFP_KERNEL); |
mtu | 1930 | net/inet/tcp.c | if (rspace > (sk->window - sk->bytes_rcv + sk->mtu)) |
mtu | 2614 | net/inet/tcp.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
mtu | 2627 | net/inet/tcp.c | sk->mtu=min(sk->mtu, 536); /* default MSS if none sent */ |
mtu | 2630 | net/inet/tcp.c | sk->mss = min(sk->max_window >> 1, sk->mtu); |
mtu | 2632 | net/inet/tcp.c | sk->mss = min(sk->max_window, sk->mtu); |
mtu | 2824 | net/inet/tcp.c | newsk->mtu = sk->user_mss; |
mtu | 2826 | net/inet/tcp.c | newsk->mtu = rt->rt_mss - HEADER_SIZE; |
mtu | 2834 | net/inet/tcp.c | newsk->mtu = 576 - HEADER_SIZE; |
mtu | 2836 | net/inet/tcp.c | newsk->mtu = MAX_WINDOW; |
mtu | 2843 | net/inet/tcp.c | newsk->mtu = min(newsk->mtu, dev->mtu - HEADER_SIZE); |
mtu | 2921 | net/inet/tcp.c | ptr[2] = ((newsk->mtu) >> 8) & 0xff; |
mtu | 2922 | net/inet/tcp.c | ptr[3] =(newsk->mtu) & 0xff; |
mtu | 3131 | net/inet/tcp.c | sk->mss = min(sk->max_window>>1, sk->mtu); |
mtu | 3133 | net/inet/tcp.c | sk->mss = min(sk->max_window, sk->mtu); |
mtu | 3641 | net/inet/tcp.c | sk->mss=min(sk->max_window,sk->mtu); |
mtu | 4069 | net/inet/tcp.c | while (sk->prot->rspace(sk) < sk->mtu) |
mtu | 4355 | net/inet/tcp.c | sk->mtu = sk->user_mss; |
mtu | 4357 | net/inet/tcp.c | sk->mtu = rt->rt_mss; |
mtu | 4365 | net/inet/tcp.c | sk->mtu = 576 - HEADER_SIZE; |
mtu | 4367 | net/inet/tcp.c | sk->mtu = MAX_WINDOW; |
mtu | 4373 | net/inet/tcp.c | if(sk->mtu <32) |
mtu | 4374 | net/inet/tcp.c | sk->mtu = 32; /* Sanity limit */ |
mtu | 4376 | net/inet/tcp.c | sk->mtu = min(sk->mtu, dev->mtu - HEADER_SIZE); |
mtu | 4385 | net/inet/tcp.c | ptr[2] = (sk->mtu) >> 8; |
mtu | 4386 | net/inet/tcp.c | ptr[3] = (sk->mtu) & 0xff; |
mtu | 4743 | net/inet/tcp.c | sk->mss = min(sk->max_window, sk->mtu); |