tag | line | file | source code |
mtu | 1198 | drivers/isdn/isdn_net.c | ndev->mtu = 1500; |
mtu | 1162 | drivers/net/arcnet.c | dev->mtu=1500; /* completely arbitrary - agrees with ether, though */ |
mtu | 2749 | drivers/net/arcnet.c | dev->mtu=512-sizeof(struct HardHeader)-dev->hard_header_len-1; |
mtu | 2918 | 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 | 367 | 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 | 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 = (__u32) (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 | 551 | drivers/net/sdla.c | master->mtu = slave->mtu; |
mtu | 1091 | drivers/net/sdla.c | if ((data.config.mtu < 0) || (data.config.mtu > SDLA_MAX_MTU)) |
mtu | 1112 | drivers/net/sdla.c | if (dev->mtu != flp->config.mtu) |
mtu | 1115 | drivers/net/sdla.c | dev->mtu = flp->config.mtu; |
mtu | 1118 | drivers/net/sdla.c | flp->master[i]->mtu = flp->config.mtu; |
mtu | 1121 | drivers/net/sdla.c | flp->config.mtu += sizeof(struct fradhdr); |
mtu | 1134 | drivers/net/sdla.c | data.config.mtu -= sizeof(struct fradhdr); |
mtu | 1592 | 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 | 520 | drivers/net/sunlance.c | 0, dev, dev->mtu, 0, 0); |
mtu | 1056 | drivers/net/wavelan.c | dev->mtu = WAVELAN_MTU; |
mtu | 451 | fs/nfs/nfsroot.c | route.rt_mss = bootp_dev->mtu; |
mtu | 1278 | fs/nfs/nfsroot.c | route.rt_mss = root_dev->mtu; |
mtu | 75 | 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 | 219 | include/net/sock.h | unsigned short mtu; /* mss negotiated in the syn's */ |
mtu | 218 | include/net/tcp.h | sk->mss = sk->mtu; |
mtu | 249 | include/net/tcp.h | sk->mss = sk->mtu; |
mtu | 1179 | net/appletalk/ddp.c | sk->mtu=DDP_MAXSZ; |
mtu | 1112 | net/ax25/af_ax25.c | sk->mtu = AX25_MTU; /* 256 */ |
mtu | 1184 | net/ax25/af_ax25.c | sk->mtu = osk->mtu; |
mtu | 64 | net/ax25/ax25_out.c | int err, frontlen, mtu, len, fragno, ka9qfrag, first = 1; |
mtu | 74 | net/ax25/ax25_out.c | mtu = ax25->paclen; |
mtu | 76 | 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 | 94 | net/ax25/ax25_out.c | fragno = skb->len / mtu; |
mtu | 95 | net/ax25/ax25_out.c | if (skb->len % mtu == 0) fragno--; |
mtu | 101 | net/ax25/ax25_out.c | if ((skbn = sock_alloc_send_skb(skb->sk, mtu + 2 + frontlen, 0, 0, &err)) == NULL) |
mtu | 104 | net/ax25/ax25_out.c | if ((skbn = alloc_skb(mtu + 2 + frontlen, GFP_ATOMIC)) == NULL) |
mtu | 112 | net/ax25/ax25_out.c | len = (mtu > skb->len) ? skb->len : mtu; |
mtu | 1133 | net/core/dev.c | ifr.ifr_mtu = dev->mtu; |
mtu | 1149 | net/core/dev.c | dev->mtu = ifr.ifr_mtu; |
mtu | 282 | net/core/net_alias.c | dev->mtu = main_dev->mtu; |
mtu | 667 | net/ipv4/af_inet.c | sk->mtu = 576; |
mtu | 249 | net/ipv4/ip_forward.c | if (skb->len+encap > dev2->mtu && (ntohs(iph->frag_off) & IP_DF)) |
mtu | 252 | net/ipv4/ip_forward.c | icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, htonl(dev2->mtu), dev); |
mtu | 419 | net/ipv4/ip_forward.c | if(skb2->len > dev2->mtu + dev2->hard_header_len) |
mtu | 612 | net/ipv4/ip_fragment.c | int left, mtu, hlen, len; |
mtu | 634 | net/ipv4/ip_fragment.c | mtu = (dev->mtu - hlen); /* Size of data space */ |
mtu | 654 | net/ipv4/ip_fragment.c | if(mtu<8) |
mtu | 657 | net/ipv4/ip_fragment.c | icmp_send(skb,ICMP_DEST_UNREACH,ICMP_FRAG_NEEDED,dev->mtu, dev); |
mtu | 685 | net/ipv4/ip_fragment.c | if (len > mtu) |
mtu | 686 | 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 | 172 | net/ipv4/packet.c | if(len>dev->mtu+dev->hard_header_len) |
mtu | 461 | net/ipv4/route.c | mss = dev->mtu; |
mtu | 1131 | net/ipv4/route.c | rt->rt_mtu = dev->mtu; |
mtu | 1133 | 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 | 1058 | net/ipv4/tcp.c | skb = sock_wmalloc(sk, sk->mtu + 128 + prot->max_header + 15, 0, GFP_KERNEL); |
mtu | 2001 | net/ipv4/tcp.c | sk->mtu = sk->user_mss; |
mtu | 2003 | net/ipv4/tcp.c | sk->mtu = rt->rt_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 2005 | net/ipv4/tcp.c | sk->mtu = 576 - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 2011 | net/ipv4/tcp.c | if(sk->mtu <32) |
mtu | 2012 | net/ipv4/tcp.c | sk->mtu = 32; /* Sanity limit */ |
mtu | 2014 | net/ipv4/tcp.c | sk->mtu = min(sk->mtu, dev->mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)); |
mtu | 2028 | net/ipv4/tcp.c | sk->mtu=skip_pick_mtu(sk->mtu,dev); |
mtu | 2038 | net/ipv4/tcp.c | ptr[2] = (sk->mtu) >> 8; |
mtu | 2039 | net/ipv4/tcp.c | ptr[3] = (sk->mtu) & 0xff; |
mtu | 285 | net/ipv4/tcp_input.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
mtu | 298 | net/ipv4/tcp_input.c | sk->mtu=min(sk->mtu, 536); /* default MSS if none sent */ |
mtu | 301 | net/ipv4/tcp_input.c | sk->mss = min(sk->max_window >> 1, sk->mtu); |
mtu | 303 | net/ipv4/tcp_input.c | sk->mss = min(sk->max_window, sk->mtu); |
mtu | 485 | net/ipv4/tcp_input.c | newsk->mtu = sk->user_mss; |
mtu | 487 | net/ipv4/tcp_input.c | newsk->mtu = rt->rt_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 489 | net/ipv4/tcp_input.c | newsk->mtu = 576 - sizeof(struct iphdr) - sizeof(struct tcphdr); |
mtu | 495 | net/ipv4/tcp_input.c | newsk->mtu = min(newsk->mtu, dev->mtu - sizeof(struct iphdr) - sizeof(struct tcphdr)); |
mtu | 509 | net/ipv4/tcp_input.c | sk->mtu=skip_pick_mtu(sk->mtu,dev); |
mtu | 642 | net/ipv4/tcp_input.c | sk->mss = min(window_seq>>1, sk->mtu); |
mtu | 644 | net/ipv4/tcp_input.c | sk->mss = min(window_seq, sk->mtu); |
mtu | 1018 | net/ipv4/tcp_input.c | sk->mss=min(sk->max_window,sk->mtu); |
mtu | 1396 | net/ipv4/tcp_input.c | while (sock_rspace(sk) < sk->mtu) |
mtu | 1722 | 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 | 729 | net/ipv4/tcp_output.c | ptr[2] = ((newsk->mtu) >> 8) & 0xff; |
mtu | 730 | net/ipv4/tcp_output.c | ptr[3] =(newsk->mtu) & 0xff; |
mtu | 1642 | 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 | 338 | net/unix/af_unix.c | sk->mtu=4096; |