tag | line | file | source code |
mtu | 817 | drivers/net/arcnet.c | dev->mtu=1500; /* completely arbitrary - agrees with ether, though */ |
mtu | 1108 | drivers/net/arcnet.c | dev->mtu=512-sizeof(struct HardHeader)-dev->hard_header_len-1; |
mtu | 1129 | drivers/net/arcnet.c | dev->mtu=512-sizeof(struct HardHeader)-dev->hard_header_len |
mtu | 253 | drivers/net/eql.c | dev->mtu = EQL_DEFAULT_MTU; /* set to 576 in eql.h */ |
mtu | 131 | drivers/net/loopback.c | dev->mtu = 7900; /* MTU */ |
mtu | 136 | drivers/net/loopback.c | dev->mtu = 2000; /* Kept under 1 page */ |
mtu | 176 | drivers/net/net_init.c | dev->mtu = 1500; /* eth_mtu */ |
mtu | 206 | drivers/net/net_init.c | dev->mtu = 2000; /* bug in fragmenter...*/ |
mtu | 1431 | drivers/net/pi2.c | dev->mtu = 1500; /* eth_mtu is the default */ |
mtu | 537 | drivers/net/plip.c | if (rcv->length.h > dev->mtu + dev->hard_header_len |
mtu | 901 | drivers/net/plip.c | if (skb->len > dev->mtu + dev->hard_header_len) { |
mtu | 475 | drivers/net/ppp.c | dev->mtu = PPP_MTU; |
mtu | 510 | drivers/net/ppp.c | ppp->mtu = PPP_MTU; |
mtu | 653 | drivers/net/ppp.c | int mtu, mru; |
mtu | 660 | drivers/net/ppp.c | mtu = (new_mtu * 2) + 20; |
mtu | 672 | drivers/net/ppp.c | new_wbuf = ppp_alloc_buf (mtu+PPP_HARD_HDR_LEN, BUFFER_TYPE_DEV_WR); |
mtu | 709 | drivers/net/ppp.c | dev->mem_end = (unsigned long) (dev->mem_start + mtu); |
mtu | 718 | drivers/net/ppp.c | dev->mtu = |
mtu | 719 | drivers/net/ppp.c | ppp->mtu = new_mtu; |
mtu | 894 | drivers/net/ppp.c | if (ppp_changedmtu (ppp, ppp2dev(ppp)->mtu, ppp->mru) == 0) { |
mtu | 2361 | drivers/net/ppp.c | ppp_changedmtu (ppp, ppp2dev (ppp)->mtu, temp_i); |
mtu | 2924 | drivers/net/ppp.c | if (ppp->mtu != ppp2dev (ppp)->mtu) { |
mtu | 2926 | drivers/net/ppp.c | ppp2dev (ppp)->mtu, |
mtu | 3047 | drivers/net/ppp.c | if (ppp->mtu != ppp2dev (ppp)->mtu) { |
mtu | 3049 | drivers/net/ppp.c | ppp2dev (ppp)->mtu, |
mtu | 226 | drivers/net/slip.c | len = dev->mtu * 2; |
mtu | 249 | drivers/net/slip.c | dev->mtu = sl->mtu; |
mtu | 294 | drivers/net/slip.c | sl->mtu = dev->mtu + 73; |
mtu | 296 | drivers/net/slip.c | sl->mtu = dev->mtu; |
mtu | 402 | drivers/net/slip.c | if (sl->mtu != sl->dev->mtu + 73) { /* Someone has been ifconfigging */ |
mtu | 404 | drivers/net/slip.c | if (sl->mtu != sl->dev->mtu) { /* Someone has been ifconfigging */ |
mtu | 409 | drivers/net/slip.c | if (len > sl->mtu) { /* Sigh, shouldn't occur BUT ... */ |
mtu | 410 | drivers/net/slip.c | len = sl->mtu; |
mtu | 582 | drivers/net/slip.c | len = dev->mtu * 2; |
mtu | 611 | drivers/net/slip.c | sl->mtu = dev->mtu + 73; |
mtu | 613 | drivers/net/slip.c | sl->mtu = dev->mtu; |
mtu | 691 | drivers/net/slip.c | if (sl->mtu != sl->dev->mtu + 73) { |
mtu | 693 | drivers/net/slip.c | if (sl->mtu != sl->dev->mtu) { |
mtu | 1194 | drivers/net/slip.c | dev->mtu = SL_MTU; |
mtu | 79 | drivers/net/slip.h | int mtu; /* Our mtu (to spot changes!) */ |
mtu | 555 | drivers/net/sunlance.c | 0, dev, dev->mtu, 0, 0); |
mtu | 1056 | drivers/net/wavelan.c | dev->mtu = WAVELAN_MTU; |
mtu | 589 | fs/nfs/nfsroot.c | route.rt_mss = root_dev->mtu; |
mtu | 107 | include/linux/if_pppvar.h | int mtu; /* maximum xmit frame size */ |
mtu | 130 | include/linux/netdevice.h | unsigned short mtu; /* interface MTU value */ |
mtu | 156 | include/net/sock.h | unsigned short mtu; /* mss negotiated in the syn's */ |
mtu | 1124 | net/appletalk/ddp.c | sk->mtu=DDP_MAXSZ; |
mtu | 930 | net/ax25/af_ax25.c | sk->mtu = AX25_MTU; /* 256 */ |
mtu | 1003 | 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 - 1) > 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 | 1205 | net/core/dev.c | ifr.ifr_mtu = dev->mtu; |
mtu | 1216 | net/core/dev.c | dev->mtu = ifr.ifr_mtu; |
mtu | 274 | net/core/net_alias.c | dev->mtu = main_dev->mtu; |
mtu | 671 | net/ipv4/af_inet.c | sk->mtu = 576; |
mtu | 245 | net/ipv4/ip_forward.c | if (skb->len+encap > dev2->mtu && (ntohs(iph->frag_off) & IP_DF)) { |
mtu | 247 | net/ipv4/ip_forward.c | icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, htonl(dev2->mtu), dev); |
mtu | 400 | net/ipv4/ip_forward.c | if(skb2->len > dev2->mtu + dev2->hard_header_len) |
mtu | 624 | net/ipv4/ip_fragment.c | int left, mtu, hlen, len; |
mtu | 647 | net/ipv4/ip_fragment.c | mtu = (dev->mtu - hlen); /* Size of data space */ |
mtu | 667 | net/ipv4/ip_fragment.c | if(mtu<8) |
mtu | 670 | net/ipv4/ip_fragment.c | icmp_send(skb,ICMP_DEST_UNREACH,ICMP_FRAG_NEEDED,dev->mtu, dev); |
mtu | 698 | net/ipv4/ip_fragment.c | if (len > mtu) |
mtu | 699 | net/ipv4/ip_fragment.c | len = mtu; |
mtu | 394 | net/ipv4/ip_output.c | if(ntohs(iph->tot_len)> dev->mtu) |
mtu | 645 | net/ipv4/ip_output.c | if(length <= dev->mtu && !MULTICAST(daddr) && daddr!=0xFFFFFFFF && daddr!=dev->pa_brdaddr) |
mtu | 732 | net/ipv4/ip_output.c | maxfraglen = ((dev->mtu-sizeof(struct iphdr)-opt->optlen) & ~7) + fragheaderlen; |
mtu | 745 | net/ipv4/ip_output.c | maxfraglen = ((dev->mtu-20) & ~7) + fragheaderlen; |
mtu | 165 | net/ipv4/packet.c | if(len>dev->mtu+dev->hard_header_len) |
mtu | 455 | net/ipv4/route.c | mss = dev->mtu; |
mtu | 1124 | net/ipv4/route.c | rt->rt_mtu = dev->mtu; |
mtu | 1126 | net/ipv4/route.c | if (dev->mtu > 576) |
mtu | 1104 | net/ipv4/tcp.c | if (sk->mtu > new_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)) |
mtu | 1105 | net/ipv4/tcp.c | sk->mtu = new_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 1269 | net/ipv4/tcp.c | if (sock_wspace(sk) < sk->mtu+128+sk->prot->max_header) |
mtu | 1838 | net/ipv4/tcp.c | int new_mss = min(sk->mtu, sk->max_window); |
mtu | 1912 | net/ipv4/tcp.c | skb = sock_wmalloc(sk, sk->mtu + 128 + prot->max_header + 15, 0, GFP_KERNEL); |
mtu | 2200 | net/ipv4/tcp.c | if (rspace > (sk->window - sk->bytes_rcv + sk->mtu)) |
mtu | 2864 | net/ipv4/tcp.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
mtu | 2877 | net/ipv4/tcp.c | sk->mtu=min(sk->mtu, 536); /* default MSS if none sent */ |
mtu | 2880 | net/ipv4/tcp.c | sk->mss = min(sk->max_window >> 1, sk->mtu); |
mtu | 2882 | net/ipv4/tcp.c | sk->mss = min(sk->max_window, sk->mtu); |
mtu | 3094 | net/ipv4/tcp.c | newsk->mtu = sk->user_mss; |
mtu | 3096 | net/ipv4/tcp.c | newsk->mtu = rt->rt_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 3098 | net/ipv4/tcp.c | newsk->mtu = 576 - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 3104 | net/ipv4/tcp.c | newsk->mtu = min(newsk->mtu, dev->mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)); |
mtu | 3118 | net/ipv4/tcp.c | sk->mtu=skip_pick_mtu(sk->mtu,dev); |
mtu | 3195 | net/ipv4/tcp.c | ptr[2] = ((newsk->mtu) >> 8) & 0xff; |
mtu | 3196 | net/ipv4/tcp.c | ptr[3] =(newsk->mtu) & 0xff; |
mtu | 3352 | net/ipv4/tcp.c | if (size > sk->mtu - sizeof(struct iphdr)) |
mtu | 3413 | net/ipv4/tcp.c | sk->mss = min(sk->max_window>>1, sk->mtu); |
mtu | 3415 | net/ipv4/tcp.c | sk->mss = min(sk->max_window, sk->mtu); |
mtu | 3923 | net/ipv4/tcp.c | sk->mss=min(sk->max_window,sk->mtu); |
mtu | 4345 | net/ipv4/tcp.c | while (sock_rspace(sk) < sk->mtu) |
mtu | 4630 | net/ipv4/tcp.c | sk->mtu = sk->user_mss; |
mtu | 4632 | net/ipv4/tcp.c | sk->mtu = rt->rt_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 4634 | net/ipv4/tcp.c | sk->mtu = 576 - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 4640 | net/ipv4/tcp.c | if(sk->mtu <32) |
mtu | 4641 | net/ipv4/tcp.c | sk->mtu = 32; /* Sanity limit */ |
mtu | 4643 | net/ipv4/tcp.c | sk->mtu = min(sk->mtu, dev->mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)); |
mtu | 4657 | net/ipv4/tcp.c | sk->mtu=skip_pick_mtu(sk->mtu,dev); |
mtu | 4667 | net/ipv4/tcp.c | ptr[2] = (sk->mtu) >> 8; |
mtu | 4668 | net/ipv4/tcp.c | ptr[3] = (sk->mtu) & 0xff; |
mtu | 5040 | net/ipv4/tcp.c | sk->mss = min(sk->max_window, sk->mtu); |
mtu | 1496 | net/ipx/af_ipx.c | sk->mtu=IPX_MTU; |
mtu | 465 | net/netrom/af_netrom.c | sk->mtu = NETROM_MTU; /* 236 */ |
mtu | 566 | net/netrom/af_netrom.c | sk->mtu = osk->mtu; |
mtu | 210 | net/netrom/nr_dev.c | dev->mtu = 236; /* MTU */ |
mtu | 53 | net/netrom/nr_out.c | int err, frontlen, len, mtu; |
mtu | 55 | net/netrom/nr_out.c | mtu = sk->nr->device->mtu; |
mtu | 57 | net/netrom/nr_out.c | if (skb->len - NR_TRANSPORT_LEN > mtu) { |
mtu | 65 | net/netrom/nr_out.c | if ((skbn = sock_alloc_send_skb(sk, frontlen + mtu, 0, 0, &err)) == NULL) |
mtu | 74 | net/netrom/nr_out.c | len = (mtu > skb->len) ? skb->len : mtu; |
mtu | 330 | net/unix/af_unix.c | sk->mtu=4096; |