tag | line | file | source code |
mtu | 1198 | drivers/isdn/isdn_net.c | ndev->mtu = 1500; |
mtu | 1073 | drivers/net/arcnet.c | dev->mtu=1500; /* completely arbitrary - agrees with ether, though */ |
mtu | 2718 | drivers/net/arcnet.c | dev->mtu=512-sizeof(struct HardHeader)-dev->hard_header_len-1; |
mtu | 2914 | drivers/net/arcnet.c | dev->mtu=512-sizeof(struct HardHeader)-dev->hard_header_len |
mtu | 265 | drivers/net/eql.c | dev->mtu = EQL_DEFAULT_MTU; /* set to 576 in eql.h */ |
mtu | 119 | drivers/net/loopback.c | dev->mtu = LOOPBACK_MTU; |
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 | 357 | drivers/net/new_tunnel.c | dev->mtu = 1500-tunnel_hlen; /* eth_mtu */ |
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 | 511 | drivers/net/ppp.c | ppp->mtu = PPP_MTU; |
mtu | 654 | drivers/net/ppp.c | int mtu, mru; |
mtu | 661 | drivers/net/ppp.c | mtu = (new_mtu * 2) + 20; |
mtu | 673 | drivers/net/ppp.c | new_wbuf = ppp_alloc_buf (mtu+PPP_HARD_HDR_LEN, BUFFER_TYPE_DEV_WR); |
mtu | 710 | drivers/net/ppp.c | dev->mem_end = (unsigned long) (dev->mem_start + mtu); |
mtu | 719 | drivers/net/ppp.c | dev->mtu = |
mtu | 720 | drivers/net/ppp.c | ppp->mtu = new_mtu; |
mtu | 895 | drivers/net/ppp.c | if (ppp_changedmtu (ppp, ppp2dev(ppp)->mtu, ppp->mru) == 0) { |
mtu | 2362 | drivers/net/ppp.c | ppp_changedmtu (ppp, ppp2dev (ppp)->mtu, temp_i); |
mtu | 2925 | drivers/net/ppp.c | if (ppp->mtu != ppp2dev (ppp)->mtu) { |
mtu | 2927 | drivers/net/ppp.c | ppp2dev (ppp)->mtu, |
mtu | 3048 | drivers/net/ppp.c | if (ppp->mtu != ppp2dev (ppp)->mtu) { |
mtu | 3050 | drivers/net/ppp.c | ppp2dev (ppp)->mtu, |
mtu | 898 | drivers/net/pt.c | dev->mtu = 1500; /* eth_mtu is default */ |
mtu | 233 | drivers/net/slip.c | len = dev->mtu * 2; |
mtu | 256 | drivers/net/slip.c | dev->mtu = sl->mtu; |
mtu | 301 | drivers/net/slip.c | sl->mtu = dev->mtu + 73; |
mtu | 303 | drivers/net/slip.c | sl->mtu = dev->mtu; |
mtu | 409 | drivers/net/slip.c | if (sl->mtu != sl->dev->mtu + 73) { /* Someone has been ifconfigging */ |
mtu | 411 | drivers/net/slip.c | if (sl->mtu != sl->dev->mtu) { /* Someone has been ifconfigging */ |
mtu | 416 | drivers/net/slip.c | if (len > sl->mtu) { /* Sigh, shouldn't occur BUT ... */ |
mtu | 417 | drivers/net/slip.c | len = sl->mtu; |
mtu | 590 | drivers/net/slip.c | len = dev->mtu * 2; |
mtu | 619 | drivers/net/slip.c | sl->mtu = dev->mtu + 73; |
mtu | 621 | drivers/net/slip.c | sl->mtu = dev->mtu; |
mtu | 708 | drivers/net/slip.c | if (sl->mtu != sl->dev->mtu + 73) { |
mtu | 710 | drivers/net/slip.c | if (sl->mtu != sl->dev->mtu) { |
mtu | 1283 | drivers/net/slip.c | dev->mtu = SL_MTU; |
mtu | 83 | 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 | 134 | include/linux/netdevice.h | unsigned short mtu; /* interface MTU value */ |
mtu | 212 | include/net/sock.h | unsigned short mtu; /* mss negotiated in the syn's */ |
mtu | 203 | include/net/tcp.h | sk->mss = sk->mtu; |
mtu | 234 | include/net/tcp.h | sk->mss = sk->mtu; |
mtu | 1127 | net/appletalk/ddp.c | sk->mtu=DDP_MAXSZ; |
mtu | 960 | net/ax25/af_ax25.c | sk->mtu = AX25_MTU; /* 256 */ |
mtu | 1032 | net/ax25/af_ax25.c | sk->mtu = osk->mtu; |
mtu | 61 | net/ax25/ax25_out.c | int err, frontlen, mtu, len, fragno, first = 1; |
mtu | 63 | net/ax25/ax25_out.c | mtu = ax25->device->mtu; |
mtu | 65 | net/ax25/ax25_out.c | if ((skb->len - 1) > mtu) { |
mtu | 66 | net/ax25/ax25_out.c | mtu -= 2; /* Allow for fragment control info */ |
mtu | 68 | net/ax25/ax25_out.c | fragno = skb->len / mtu; |
mtu | 69 | net/ax25/ax25_out.c | if (skb->len % mtu == 0) fragno--; |
mtu | 75 | net/ax25/ax25_out.c | if ((skbn = sock_alloc_send_skb(skb->sk, mtu + 2 + frontlen, 0, 0, &err)) == NULL) |
mtu | 78 | net/ax25/ax25_out.c | if ((skbn = alloc_skb(mtu + 2 + frontlen, GFP_ATOMIC)) == NULL) |
mtu | 88 | net/ax25/ax25_out.c | len = (mtu > skb->len) ? skb->len : mtu; |
mtu | 1153 | net/core/dev.c | ifr.ifr_mtu = dev->mtu; |
mtu | 1164 | net/core/dev.c | dev->mtu = ifr.ifr_mtu; |
mtu | 282 | net/core/net_alias.c | dev->mtu = main_dev->mtu; |
mtu | 665 | net/ipv4/af_inet.c | sk->mtu = 576; |
mtu | 248 | net/ipv4/ip_forward.c | if (skb->len+encap > dev2->mtu && (ntohs(iph->frag_off) & IP_DF)) |
mtu | 251 | net/ipv4/ip_forward.c | icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, htonl(dev2->mtu), dev); |
mtu | 418 | 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 | 395 | net/ipv4/ip_output.c | if(ntohs(iph->tot_len)> dev->mtu) |
mtu | 646 | net/ipv4/ip_output.c | if(length <= dev->mtu && !MULTICAST(daddr) && daddr!=0xFFFFFFFF && daddr!=dev->pa_brdaddr) |
mtu | 734 | net/ipv4/ip_output.c | maxfraglen = ((dev->mtu-sizeof(struct iphdr)-opt->optlen) & ~7) + fragheaderlen; |
mtu | 747 | net/ipv4/ip_output.c | maxfraglen = ((dev->mtu-20) & ~7) + fragheaderlen; |
mtu | 164 | net/ipv4/packet.c | if(len>dev->mtu+dev->hard_header_len) |
mtu | 460 | net/ipv4/route.c | mss = dev->mtu; |
mtu | 1130 | net/ipv4/route.c | rt->rt_mtu = dev->mtu; |
mtu | 1132 | net/ipv4/route.c | if (dev->mtu > 576) |
mtu | 562 | net/ipv4/tcp.c | if (sk->mtu > new_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr) |
mtu | 564 | net/ipv4/tcp.c | sk->mtu = new_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 732 | net/ipv4/tcp.c | if (sock_wspace(sk) < sk->mtu+128+sk->prot->max_header) |
mtu | 988 | net/ipv4/tcp.c | int new_mss = min(sk->mtu, sk->max_window); |
mtu | 1053 | net/ipv4/tcp.c | skb = sock_wmalloc(sk, sk->mtu + 128 + prot->max_header + 15, 0, GFP_KERNEL); |
mtu | 1408 | net/ipv4/tcp.c | if (rspace > (sk->window - sk->bytes_rcv + sk->mtu)) |
mtu | 2039 | net/ipv4/tcp.c | sk->mtu = sk->user_mss; |
mtu | 2041 | net/ipv4/tcp.c | sk->mtu = rt->rt_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 2043 | net/ipv4/tcp.c | sk->mtu = 576 - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 2049 | net/ipv4/tcp.c | if(sk->mtu <32) |
mtu | 2050 | net/ipv4/tcp.c | sk->mtu = 32; /* Sanity limit */ |
mtu | 2052 | net/ipv4/tcp.c | sk->mtu = min(sk->mtu, dev->mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)); |
mtu | 2066 | net/ipv4/tcp.c | sk->mtu=skip_pick_mtu(sk->mtu,dev); |
mtu | 2076 | net/ipv4/tcp.c | ptr[2] = (sk->mtu) >> 8; |
mtu | 2077 | net/ipv4/tcp.c | ptr[3] = (sk->mtu) & 0xff; |
mtu | 283 | net/ipv4/tcp_input.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
mtu | 296 | net/ipv4/tcp_input.c | sk->mtu=min(sk->mtu, 536); /* default MSS if none sent */ |
mtu | 299 | net/ipv4/tcp_input.c | sk->mss = min(sk->max_window >> 1, sk->mtu); |
mtu | 301 | net/ipv4/tcp_input.c | sk->mss = min(sk->max_window, sk->mtu); |
mtu | 482 | net/ipv4/tcp_input.c | newsk->mtu = sk->user_mss; |
mtu | 484 | net/ipv4/tcp_input.c | newsk->mtu = rt->rt_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 486 | net/ipv4/tcp_input.c | newsk->mtu = 576 - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 492 | net/ipv4/tcp_input.c | newsk->mtu = min(newsk->mtu, dev->mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)); |
mtu | 506 | net/ipv4/tcp_input.c | sk->mtu=skip_pick_mtu(sk->mtu,dev); |
mtu | 639 | net/ipv4/tcp_input.c | sk->mss = min(window_seq>>1, sk->mtu); |
mtu | 641 | net/ipv4/tcp_input.c | sk->mss = min(window_seq, sk->mtu); |
mtu | 1015 | net/ipv4/tcp_input.c | sk->mss=min(sk->max_window,sk->mtu); |
mtu | 1460 | net/ipv4/tcp_input.c | while (sock_rspace(sk) < sk->mtu) |
mtu | 1784 | net/ipv4/tcp_input.c | sk->mss = min(sk->max_window, sk->mtu); |
mtu | 274 | net/ipv4/tcp_output.c | if (size > sk->mtu - sizeof(struct iphdr)) |
mtu | 728 | net/ipv4/tcp_output.c | ptr[2] = ((newsk->mtu) >> 8) & 0xff; |
mtu | 729 | net/ipv4/tcp_output.c | ptr[3] =(newsk->mtu) & 0xff; |
mtu | 1631 | net/ipx/af_ipx.c | sk->mtu=IPX_MTU; |
mtu | 454 | net/netrom/af_netrom.c | sk->mtu = NETROM_MTU; /* 236 */ |
mtu | 555 | net/netrom/af_netrom.c | sk->mtu = osk->mtu; |
mtu | 209 | 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 | 333 | net/unix/af_unix.c | sk->mtu=4096; |