tag | line | file | source code |
mtu | 1240 | drivers/isdn/isdn_net.c | ndev->mtu = 1500; |
mtu | 1170 | drivers/net/arcnet.c | dev->mtu=1500; /* completely arbitrary - agrees with ether, though */ |
mtu | 2757 | drivers/net/arcnet.c | dev->mtu=512-sizeof(struct HardHeader)-dev->hard_header_len-1; |
mtu | 2926 | drivers/net/arcnet.c | dev->mtu=512-sizeof(struct HardHeader)-dev->hard_header_len |
mtu | 271 | 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 | 374 | 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 | 538 | drivers/net/plip.c | if (rcv->length.h > dev->mtu + dev->hard_header_len |
mtu | 903 | drivers/net/plip.c | if (skb->len > dev->mtu + dev->hard_header_len) { |
mtu | 396 | drivers/net/ppp.c | dev->mtu = PPP_MTU; |
mtu | 431 | drivers/net/ppp.c | ppp->mtu = PPP_MTU; |
mtu | 568 | drivers/net/ppp.c | int mtu, mru; |
mtu | 575 | drivers/net/ppp.c | mtu = (new_mtu * 2) + 20; |
mtu | 587 | drivers/net/ppp.c | new_wbuf = ppp_alloc_buf (mtu+PPP_HARD_HDR_LEN, BUFFER_TYPE_DEV_WR); |
mtu | 624 | drivers/net/ppp.c | dev->mem_end = (unsigned long) (dev->mem_start + mtu); |
mtu | 633 | drivers/net/ppp.c | dev->mtu = |
mtu | 634 | drivers/net/ppp.c | ppp->mtu = new_mtu; |
mtu | 827 | drivers/net/ppp.c | if (ppp_changedmtu (ppp, ppp2dev(ppp)->mtu, ppp->mru) == 0) { |
mtu | 2259 | drivers/net/ppp.c | ppp_changedmtu (ppp, ppp2dev (ppp)->mtu, temp_i); |
mtu | 2914 | drivers/net/ppp.c | if (ppp->mtu != ppp2dev (ppp)->mtu) { |
mtu | 2916 | drivers/net/ppp.c | ppp2dev (ppp)->mtu, |
mtu | 3002 | drivers/net/ppp.c | if (ppp->mtu != ppp2dev (ppp)->mtu) { |
mtu | 3004 | drivers/net/ppp.c | ppp2dev (ppp)->mtu, |
mtu | 898 | drivers/net/pt.c | dev->mtu = 1500; /* eth_mtu is default */ |
mtu | 560 | drivers/net/sdla.c | master->mtu = slave->mtu; |
mtu | 1132 | drivers/net/sdla.c | if ((data.config.mtu < 0) || (data.config.mtu > SDLA_MAX_MTU)) |
mtu | 1156 | drivers/net/sdla.c | if (dev->mtu != flp->config.mtu) |
mtu | 1159 | drivers/net/sdla.c | dev->mtu = flp->config.mtu; |
mtu | 1162 | drivers/net/sdla.c | flp->master[i]->mtu = flp->config.mtu; |
mtu | 1165 | drivers/net/sdla.c | flp->config.mtu += sizeof(struct frhdr); |
mtu | 1194 | drivers/net/sdla.c | data.config.mtu -= data.config.mtu > sizeof(struct frhdr) ? sizeof(struct frhdr) : data.config.mtu; |
mtu | 1657 | drivers/net/sdla.c | dev->mtu = SDLA_MAX_MTU; |
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 | 119 | drivers/net/strip.c | int mtu; /* Our mtu (to spot changes!) */ |
mtu | 481 | drivers/net/strip.c | len = STRIP_ENCAP_SIZE(dev->mtu); |
mtu | 492 | drivers/net/strip.c | dev->mtu = strip_info->mtu; |
mtu | 530 | drivers/net/strip.c | strip_info->mtu = STRIP_ENCAP_SIZE(dev->mtu); |
mtu | 610 | drivers/net/strip.c | if (len > strip_info->mtu) { /* Sigh, shouldn't occur BUT ... */ |
mtu | 661 | drivers/net/strip.c | if (strip_info->mtu != STRIP_ENCAP_SIZE(strip_info->dev.mtu)) |
mtu | 931 | drivers/net/strip.c | if (strip_info->mtu != STRIP_ENCAP_SIZE(strip_info->dev.mtu)) |
mtu | 1072 | drivers/net/strip.c | len = STRIP_ENCAP_SIZE(dev->mtu); |
mtu | 1086 | drivers/net/strip.c | strip_info->mtu = STRIP_ENCAP_SIZE(dev->mtu); |
mtu | 1171 | drivers/net/strip.c | dev->mtu = STRIP_MTU; |
mtu | 587 | drivers/net/sunlance.c | 0, dev, dev->mtu, 0, 0); |
mtu | 1056 | drivers/net/wavelan.c | dev->mtu = WAVELAN_MTU; |
mtu | 217 | drivers/net/wic.c | dev->mtu = 1514; |
mtu | 537 | drivers/net/wic.c | if (rcv->length.h > dev->mtu || rcv->length.h < 8) { |
mtu | 964 | drivers/net/wic.c | if (skb->len > dev->mtu) { |
mtu | 469 | fs/nfs/nfsroot.c | route.rt_mss = bootp_dev->mtu; |
mtu | 1309 | fs/nfs/nfsroot.c | route.rt_mss = root_dev->mtu; |
mtu | 95 | include/linux/if_frad.h | short mtu; |
mtu | 107 | include/linux/if_pppvar.h | __s32 mtu; /* maximum xmit frame size */ |
mtu | 134 | include/linux/netdevice.h | unsigned short mtu; /* interface MTU value */ |
mtu | 220 | include/net/sock.h | unsigned short mtu; /* mss negotiated in the syn's */ |
mtu | 1159 | net/appletalk/ddp.c | sk->mtu=DDP_MAXSZ; |
mtu | 1117 | net/ax25/af_ax25.c | sk->mtu = AX25_MTU; /* 256 */ |
mtu | 1177 | net/ax25/af_ax25.c | sk->mtu = osk->mtu; |
mtu | 66 | net/ax25/ax25_out.c | int frontlen, mtu, len, fragno, ka9qfrag, first = 1; |
mtu | 77 | net/ax25/ax25_out.c | mtu = ax25->paclen; |
mtu | 79 | net/ax25/ax25_out.c | if ((skb->len - 1) > mtu) { |
mtu | 84 | net/ax25/ax25_out.c | mtu -= 2; /* Allow for fragment control info */ |
mtu | 88 | net/ax25/ax25_out.c | fragno = skb->len / mtu; |
mtu | 89 | net/ax25/ax25_out.c | if (skb->len % mtu == 0) fragno--; |
mtu | 100 | net/ax25/ax25_out.c | if ((skbn = alloc_skb(mtu + 2 + frontlen, GFP_ATOMIC)) == NULL) { |
mtu | 118 | net/ax25/ax25_out.c | len = (mtu > skb->len) ? skb->len : mtu; |
mtu | 1182 | net/core/dev.c | ifr.ifr_mtu = dev->mtu; |
mtu | 1198 | net/core/dev.c | dev->mtu = ifr.ifr_mtu; |
mtu | 282 | net/core/net_alias.c | dev->mtu = main_dev->mtu; |
mtu | 676 | net/ipv4/af_inet.c | sk->mtu = 576; |
mtu | 257 | net/ipv4/ip_forward.c | if (skb->len+encap > dev2->mtu && (ntohs(iph->frag_off) & IP_DF)) |
mtu | 260 | net/ipv4/ip_forward.c | icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, htonl(dev2->mtu), dev); |
mtu | 427 | net/ipv4/ip_forward.c | if(skb2->len > dev2->mtu + dev2->hard_header_len) |
mtu | 611 | net/ipv4/ip_fragment.c | int left, mtu, hlen, len; |
mtu | 633 | net/ipv4/ip_fragment.c | mtu = (dev->mtu - hlen); /* Size of data space */ |
mtu | 653 | net/ipv4/ip_fragment.c | if(mtu<8) |
mtu | 656 | net/ipv4/ip_fragment.c | icmp_send(skb,ICMP_DEST_UNREACH,ICMP_FRAG_NEEDED,dev->mtu, dev); |
mtu | 684 | net/ipv4/ip_fragment.c | if (len > mtu) |
mtu | 685 | net/ipv4/ip_fragment.c | len = mtu; |
mtu | 398 | net/ipv4/ip_output.c | if(ntohs(iph->tot_len)> dev->mtu) |
mtu | 650 | net/ipv4/ip_output.c | if(length <= dev->mtu && !MULTICAST(daddr) && daddr!=0xFFFFFFFF && daddr!=dev->pa_brdaddr) |
mtu | 738 | net/ipv4/ip_output.c | maxfraglen = ((dev->mtu-sizeof(struct iphdr)-opt->optlen) & ~7) + fragheaderlen; |
mtu | 751 | net/ipv4/ip_output.c | maxfraglen = ((dev->mtu-20) & ~7) + fragheaderlen; |
mtu | 172 | net/ipv4/packet.c | if(len>dev->mtu+dev->hard_header_len) |
mtu | 426 | net/ipv4/route.c | mss = dev->mtu; |
mtu | 1052 | net/ipv4/route.c | rt->rt_mtu = dev->mtu; |
mtu | 1054 | net/ipv4/route.c | if (dev->mtu > 576) |
mtu | 550 | net/ipv4/tcp.c | if (sk->mtu > new_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr) |
mtu | 552 | net/ipv4/tcp.c | sk->mtu = new_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 721 | net/ipv4/tcp.c | if (sock_wspace(sk) < sk->mtu+128+sk->prot->max_header) |
mtu | 967 | net/ipv4/tcp.c | int new_mss = min(sk->mtu, sk->max_window); |
mtu | 1038 | net/ipv4/tcp.c | tmp = tmp - copy + sk->mtu + 128; |
mtu | 1945 | net/ipv4/tcp.c | sk->mtu = sk->user_mss; |
mtu | 1947 | net/ipv4/tcp.c | sk->mtu = rt->rt_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 1949 | net/ipv4/tcp.c | sk->mtu = 576 - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 1955 | net/ipv4/tcp.c | if(sk->mtu <32) |
mtu | 1956 | net/ipv4/tcp.c | sk->mtu = 32; /* Sanity limit */ |
mtu | 1958 | net/ipv4/tcp.c | sk->mtu = min(sk->mtu, dev->mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)); |
mtu | 1972 | net/ipv4/tcp.c | sk->mtu=skip_pick_mtu(sk->mtu,dev); |
mtu | 1982 | net/ipv4/tcp.c | ptr[2] = (sk->mtu) >> 8; |
mtu | 1983 | net/ipv4/tcp.c | ptr[3] = (sk->mtu) & 0xff; |
mtu | 286 | net/ipv4/tcp_input.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
mtu | 299 | net/ipv4/tcp_input.c | sk->mtu=min(sk->mtu, 536); /* default MSS if none sent */ |
mtu | 302 | net/ipv4/tcp_input.c | sk->mss = min(sk->max_window >> 1, sk->mtu); |
mtu | 304 | net/ipv4/tcp_input.c | sk->mss = min(sk->max_window, sk->mtu); |
mtu | 488 | net/ipv4/tcp_input.c | newsk->mtu = sk->user_mss; |
mtu | 490 | net/ipv4/tcp_input.c | newsk->mtu = rt->rt_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 492 | net/ipv4/tcp_input.c | newsk->mtu = 576 - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 498 | net/ipv4/tcp_input.c | newsk->mtu = min(newsk->mtu, dev->mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)); |
mtu | 512 | net/ipv4/tcp_input.c | sk->mtu=skip_pick_mtu(sk->mtu,dev); |
mtu | 645 | net/ipv4/tcp_input.c | sk->mss = min(window_seq>>1, sk->mtu); |
mtu | 647 | net/ipv4/tcp_input.c | sk->mss = min(window_seq, sk->mtu); |
mtu | 1053 | net/ipv4/tcp_input.c | sk->mss=min(sk->max_window,sk->mtu); |
mtu | 1803 | net/ipv4/tcp_input.c | sk->mss = min(sk->max_window, sk->mtu); |
mtu | 64 | net/ipv4/tcp_output.c | minwin = sk->mtu; |
mtu | 345 | net/ipv4/tcp_output.c | if (size > sk->mtu - sizeof(struct iphdr)) |
mtu | 797 | net/ipv4/tcp_output.c | ptr[2] = ((newsk->mtu) >> 8) & 0xff; |
mtu | 798 | net/ipv4/tcp_output.c | ptr[3] =(newsk->mtu) & 0xff; |
mtu | 1734 | net/ipx/af_ipx.c | sk->mtu=IPX_MTU; |
mtu | 526 | net/netrom/af_netrom.c | sk->mtu = NETROM_MTU; /* 236 */ |
mtu | 615 | net/netrom/af_netrom.c | sk->mtu = osk->mtu; |
mtu | 220 | 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->paclen; |
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 | 322 | net/unix/af_unix.c | sk->mtu=4096; |