tag | line | file | source code |
mtu | 909 | drivers/net/arcnet.c | dev->mtu=493; /* MTU is small because of missing packet splitting */ |
mtu | 257 | drivers/net/eql.c | dev->mtu = EQL_DEFAULT_MTU; /* set to 576 in eql.h */ |
mtu | 128 | drivers/net/loopback.c | dev->mtu = 2000; /* MTU */ |
mtu | 207 | drivers/net/net_init.c | dev->mtu = 1500; /* eth_mtu */ |
mtu | 237 | drivers/net/net_init.c | dev->mtu = 2000; /* bug in fragmenter...*/ |
mtu | 1436 | drivers/net/pi2.c | dev->mtu = 1500; /* eth_mtu is the default */ |
mtu | 522 | drivers/net/plip.c | if (rcv->length.h > dev->mtu || rcv->length.h < 8) { |
mtu | 882 | drivers/net/plip.c | if (skb->len > dev->mtu) { |
mtu | 271 | drivers/net/ppp.c | dev->mtu = PPP_MTU; |
mtu | 312 | drivers/net/ppp.c | ppp->mtu = PPP_MTU; |
mtu | 370 | drivers/net/ppp.c | int mtu, mru; |
mtu | 376 | drivers/net/ppp.c | mtu = new_mtu; |
mtu | 382 | drivers/net/ppp.c | mtu = (mtu * 2) + 20; |
mtu | 388 | drivers/net/ppp.c | new_xbuff = (unsigned char *) kmalloc(mtu + 4, GFP_ATOMIC); |
mtu | 424 | drivers/net/ppp.c | dev->mem_end = (unsigned long) (dev->mem_start + mtu); |
mtu | 441 | drivers/net/ppp.c | ppp->mtu = |
mtu | 442 | drivers/net/ppp.c | dev->mtu = new_mtu; |
mtu | 552 | drivers/net/ppp.c | ppp_changedmtu (ppp, ppp->dev->mtu, ppp->mru); |
mtu | 1365 | drivers/net/ppp.c | if (ppp->mtu != ppp->dev->mtu) /* Someone has been ifconfigging */ |
mtu | 1366 | drivers/net/ppp.c | ppp_changedmtu (ppp, ppp->dev->mtu, ppp->mru); |
mtu | 1368 | drivers/net/ppp.c | if (nr > ppp->mtu) { |
mtu | 1371 | drivers/net/ppp.c | nr, ppp->mtu)); |
mtu | 1372 | drivers/net/ppp.c | nr = ppp->mtu; |
mtu | 1463 | drivers/net/ppp.c | ppp_changedmtu (ppp, ppp->dev->mtu, temp_i); |
mtu | 229 | drivers/net/slip.c | len = dev->mtu * 2; |
mtu | 252 | drivers/net/slip.c | dev->mtu = sl->mtu; |
mtu | 297 | drivers/net/slip.c | sl->mtu = dev->mtu + 73; |
mtu | 299 | drivers/net/slip.c | sl->mtu = dev->mtu; |
mtu | 405 | drivers/net/slip.c | if (sl->mtu != sl->dev->mtu + 73) { /* Someone has been ifconfigging */ |
mtu | 407 | drivers/net/slip.c | if (sl->mtu != sl->dev->mtu) { /* Someone has been ifconfigging */ |
mtu | 412 | drivers/net/slip.c | if (len > sl->mtu) { /* Sigh, shouldn't occur BUT ... */ |
mtu | 413 | drivers/net/slip.c | len = sl->mtu; |
mtu | 585 | drivers/net/slip.c | len = dev->mtu * 2; |
mtu | 614 | drivers/net/slip.c | sl->mtu = dev->mtu + 73; |
mtu | 616 | drivers/net/slip.c | sl->mtu = dev->mtu; |
mtu | 694 | drivers/net/slip.c | if (sl->mtu != sl->dev->mtu + 73) { |
mtu | 696 | drivers/net/slip.c | if (sl->mtu != sl->dev->mtu) { |
mtu | 1201 | drivers/net/slip.c | dev->mtu = SL_MTU; |
mtu | 79 | drivers/net/slip.h | int mtu; /* Our mtu (to spot changes!) */ |
mtu | 1059 | drivers/net/wavelan.c | dev->mtu = WAVELAN_MTU; |
mtu | 187 | include/linux/if_ppp.h | int mtu; /* maximum xmit frame size */ |
mtu | 116 | include/linux/netdevice.h | unsigned short mtu; /* interface MTU value */ |
mtu | 136 | include/net/sock.h | unsigned short mtu; /* mss negotiated in the syn's */ |
mtu | 1104 | net/appletalk/ddp.c | sk->mtu=DDP_MAXSZ; |
mtu | 904 | net/ax25/af_ax25.c | sk->mtu = AX25_MTU; /* 256 */ |
mtu | 976 | net/ax25/af_ax25.c | sk->mtu = osk->mtu; |
mtu | 60 | net/ax25/ax25_out.c | int err, frontlen, mtu, len, fragno, first = 1; |
mtu | 62 | net/ax25/ax25_out.c | mtu = ax25->device->mtu; |
mtu | 64 | net/ax25/ax25_out.c | if (skb->len > mtu) { |
mtu | 65 | net/ax25/ax25_out.c | mtu -= 2; /* Allow for fragment control info */ |
mtu | 67 | net/ax25/ax25_out.c | fragno = skb->len / mtu; |
mtu | 68 | net/ax25/ax25_out.c | if (skb->len % mtu == 0) fragno--; |
mtu | 74 | net/ax25/ax25_out.c | if ((skbn = sock_alloc_send_skb(skb->sk, mtu + 2 + frontlen, 0, 0, &err)) == NULL) |
mtu | 77 | net/ax25/ax25_out.c | if ((skbn = alloc_skb(mtu + 2 + frontlen, GFP_ATOMIC)) == NULL) |
mtu | 87 | net/ax25/ax25_out.c | len = (mtu > skb->len) ? skb->len : mtu; |
mtu | 1146 | net/core/dev.c | ifr.ifr_mtu = dev->mtu; |
mtu | 1157 | net/core/dev.c | dev->mtu = ifr.ifr_mtu; |
mtu | 712 | net/ipv4/af_inet.c | sk->mtu = 576; |
mtu | 880 | net/ipv4/ip.c | int left, mtu, hlen, len; |
mtu | 903 | net/ipv4/ip.c | mtu = (dev->mtu - hlen); /* Size of data space */ |
mtu | 916 | net/ipv4/ip.c | icmp_send(skb,ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, dev->mtu, dev); |
mtu | 926 | net/ipv4/ip.c | if(mtu<8) |
mtu | 929 | net/ipv4/ip.c | icmp_send(skb,ICMP_DEST_UNREACH,ICMP_FRAG_NEEDED,dev->mtu, dev); |
mtu | 957 | net/ipv4/ip.c | if (len > mtu) |
mtu | 958 | net/ipv4/ip.c | len = mtu; |
mtu | 1270 | net/ipv4/ip.c | if(skb2->len > dev2->mtu + dev2->hard_header_len) |
mtu | 1866 | net/ipv4/ip.c | if(ntohs(iph->tot_len)> dev->mtu) |
mtu | 2548 | net/ipv4/ip.c | if(length+20 <= dev->mtu && !MULTICAST(daddr) && daddr!=0xFFFFFFFF && daddr!=dev->pa_brdaddr) |
mtu | 2629 | net/ipv4/ip.c | maxfraglen = ((dev->mtu-20) & ~7) + fragheaderlen; |
mtu | 187 | net/ipv4/packet.c | if(len>dev->mtu+dev->hard_header_len) |
mtu | 225 | net/ipv4/route.c | __u32 gw, struct device *dev, unsigned short mtu, |
mtu | 299 | net/ipv4/route.c | rt->rt_mss = dev->mtu - HEADER_SIZE; |
mtu | 306 | net/ipv4/route.c | rt->rt_mss = mtu; |
mtu | 1228 | net/ipv4/tcp.c | if (sk->prot->wspace(sk) < sk->mtu+128+sk->prot->max_header) |
mtu | 1829 | net/ipv4/tcp.c | skb = prot->wmalloc(sk, sk->mtu + 128 + prot->max_header + 15, 0, GFP_KERNEL); |
mtu | 2136 | net/ipv4/tcp.c | if (rspace > (sk->window - sk->bytes_rcv + sk->mtu)) |
mtu | 2813 | net/ipv4/tcp.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
mtu | 2826 | net/ipv4/tcp.c | sk->mtu=min(sk->mtu, 536); /* default MSS if none sent */ |
mtu | 2829 | net/ipv4/tcp.c | sk->mss = min(sk->max_window >> 1, sk->mtu); |
mtu | 2831 | net/ipv4/tcp.c | sk->mss = min(sk->max_window, sk->mtu); |
mtu | 3023 | net/ipv4/tcp.c | newsk->mtu = sk->user_mss; |
mtu | 3025 | net/ipv4/tcp.c | newsk->mtu = rt->rt_mss - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 3033 | net/ipv4/tcp.c | newsk->mtu = 576 - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 3035 | net/ipv4/tcp.c | newsk->mtu = MAX_WINDOW; |
mtu | 3042 | net/ipv4/tcp.c | newsk->mtu = min(newsk->mtu, dev->mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)); |
mtu | 3118 | net/ipv4/tcp.c | ptr[2] = ((newsk->mtu) >> 8) & 0xff; |
mtu | 3119 | net/ipv4/tcp.c | ptr[3] =(newsk->mtu) & 0xff; |
mtu | 3329 | net/ipv4/tcp.c | sk->mss = min(sk->max_window>>1, sk->mtu); |
mtu | 3331 | net/ipv4/tcp.c | sk->mss = min(sk->max_window, sk->mtu); |
mtu | 3839 | net/ipv4/tcp.c | sk->mss=min(sk->max_window,sk->mtu); |
mtu | 4267 | net/ipv4/tcp.c | while (sk->prot->rspace(sk) < sk->mtu) |
mtu | 4550 | net/ipv4/tcp.c | sk->mtu = sk->user_mss; |
mtu | 4552 | net/ipv4/tcp.c | sk->mtu = rt->rt_mss; |
mtu | 4560 | net/ipv4/tcp.c | sk->mtu = 576 - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 4562 | net/ipv4/tcp.c | sk->mtu = MAX_WINDOW; |
mtu | 4568 | net/ipv4/tcp.c | if(sk->mtu <32) |
mtu | 4569 | net/ipv4/tcp.c | sk->mtu = 32; /* Sanity limit */ |
mtu | 4571 | net/ipv4/tcp.c | sk->mtu = min(sk->mtu, dev->mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)); |
mtu | 4580 | net/ipv4/tcp.c | ptr[2] = (sk->mtu) >> 8; |
mtu | 4581 | net/ipv4/tcp.c | ptr[3] = (sk->mtu) & 0xff; |
mtu | 4947 | net/ipv4/tcp.c | sk->mss = min(sk->max_window, sk->mtu); |
mtu | 1415 | net/ipx/af_ipx.c | sk->mtu=IPX_MTU; |
mtu | 468 | net/netrom/af_netrom.c | sk->mtu = NETROM_MTU; /* 236 */ |
mtu | 575 | net/netrom/af_netrom.c | sk->mtu = osk->mtu; |
mtu | 208 | net/netrom/nr_dev.c | dev->mtu = 236; /* MTU */ |
mtu | 52 | net/netrom/nr_out.c | int err, frontlen, len, mtu; |
mtu | 54 | net/netrom/nr_out.c | mtu = sk->nr->device->mtu; |
mtu | 56 | net/netrom/nr_out.c | if (skb->len - NR_TRANSPORT_LEN > mtu) { |
mtu | 64 | net/netrom/nr_out.c | if ((skbn = sock_alloc_send_skb(sk, frontlen + mtu, 0, 0, &err)) == NULL) |
mtu | 73 | net/netrom/nr_out.c | len = (mtu > skb->len) ? skb->len : mtu; |
mtu | 309 | net/unix/af_unix.c | sk->mtu=4096; |