/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/bnx2x/ |
H A D | bnx2x_cmn.c | 2109 int bnx2x_change_mtu(struct net_device *dev, int new_mtu) argument 2119 if ((new_mtu > ETH_MAX_JUMBO_PACKET_SIZE) || 2120 ((new_mtu + ETH_HLEN) < ETH_MIN_PACKET_SIZE)) 2127 dev->mtu = new_mtu;
|
H A D | bnx2x_cmn.h | 632 int bnx2x_change_mtu(struct net_device *dev, int new_mtu);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ieee1394/ |
H A D | eth1394.c | 263 static int ether1394_change_mtu(struct net_device *dev, int new_mtu) argument 267 if (new_mtu < 68) 272 if (new_mtu > max_mtu) { 278 dev->mtu = new_mtu;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/ |
H A D | ip_gre.c | 1087 static int ipgre_tunnel_change_mtu(struct net_device *dev, int new_mtu) argument 1090 if (new_mtu < 68 || 1091 new_mtu > 0xFFF8 - dev->hard_header_len - tunnel->hlen) 1093 dev->mtu = new_mtu;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/vxge/ |
H A D | vxge-main.c | 2869 * @new_mtu :the new MTU size for the device. 2874 static int vxge_change_mtu(struct net_device *dev, int new_mtu) argument 2880 if ((new_mtu < VXGE_HW_MIN_MTU) || (new_mtu > VXGE_HW_MAX_MTU)) { 2889 dev->mtu = new_mtu; 2896 "trying to apply new MTU %d", new_mtu); 2901 dev->mtu = new_mtu; 2902 vdev->mtu = new_mtu; 2908 "%s: MTU changed to %d", vdev->ndev->name, new_mtu);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/drivers/ |
H A D | net_kern.c | 258 static int uml_net_change_mtu(struct net_device *dev, int new_mtu) argument 260 dev->mtu = new_mtu;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/core/ |
H A D | net-sysfs.c | 223 static int change_mtu(struct net_device *net, unsigned long new_mtu) argument 225 return dev_set_mtu(net, (int) new_mtu);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/Micromax/Linux/driver/ndis/src/ |
H A D | lc_cdc_ether.c | 653 static int lc_change_mtu (struct net_device *net, int new_mtu) argument 656 int ll_mtu = new_mtu + net->hard_header_len; 661 if (new_mtu <= 0) 666 net->mtu = new_mtu; 675 devdbg(g_cdc_dev,"change mtu :%d, urb_size:%d",new_mtu,dev->rx_urb_size);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/igbvf/ |
H A D | netdev.c | 2362 * @new_mtu: new value for maximum frame size 2366 static int igbvf_change_mtu(struct net_device *netdev, int new_mtu) argument 2369 int max_frame = new_mtu + ETH_HLEN + ETH_FCS_LEN; 2371 if ((new_mtu < 68) || (max_frame > MAX_JUMBO_FRAME_SIZE)) { 2417 netdev->mtu, new_mtu); 2418 netdev->mtu = new_mtu;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ |
H A D | tehuti.c | 712 * @new_mtu: new value for maximum frame size 716 static int bdx_change_mtu(struct net_device *ndev, int new_mtu) argument 720 if (new_mtu == ndev->mtu) 724 if (new_mtu < ETH_ZLEN) { 726 new_mtu, ETH_ZLEN); 730 ndev->mtu = new_mtu;
|
H A D | 8139cp.c | 1228 static int cp_change_mtu(struct net_device *dev, int new_mtu) argument 1235 if (new_mtu < CP_MIN_MTU || new_mtu > CP_MAX_MTU) 1240 dev->mtu = new_mtu; 1250 dev->mtu = new_mtu;
|
H A D | acenic.c | 2535 static int ace_change_mtu(struct net_device *dev, int new_mtu) argument 2540 if (new_mtu > ACE_JUMBO_MTU) 2543 writel(new_mtu + ETH_HLEN + 4, ®s->IfMtu); 2544 dev->mtu = new_mtu; 2546 if (new_mtu > ACE_STD_MTU) {
|
H A D | b44.c | 1025 static int b44_change_mtu(struct net_device *dev, int new_mtu) argument 1029 if (new_mtu < B44_MIN_MTU || new_mtu > B44_MAX_MTU) 1036 dev->mtu = new_mtu; 1042 dev->mtu = new_mtu;
|
H A D | bcm63xx_enet.c | 1548 static int bcm_enet_change_mtu(struct net_device *dev, int new_mtu) argument 1555 ret = compute_hw_mtu(netdev_priv(dev), new_mtu); 1558 dev->mtu = new_mtu;
|
H A D | mv643xx_eth.c | 2469 static int mv643xx_eth_change_mtu(struct net_device *dev, int new_mtu) argument 2473 if (new_mtu < 64 || new_mtu > 9500) 2476 dev->mtu = new_mtu;
|
H A D | acenic.h | 767 static int ace_change_mtu(struct net_device *dev, int new_mtu);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/vmxnet3/ |
H A D | vmxnet3_drv.c | 2199 vmxnet3_change_mtu(struct net_device *netdev, int new_mtu) argument 2204 if (new_mtu < VMXNET3_MIN_MTU || new_mtu > VMXNET3_MAX_MTU) 2207 if (new_mtu > 1500 && !adapter->jumbo_frame) 2210 netdev->mtu = new_mtu;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/atl1e/ |
H A D | atl1e_main.c | 375 * @new_mtu: new value for maximum frame size 379 static int atl1e_change_mtu(struct net_device *netdev, int new_mtu) argument 383 int max_frame = new_mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN; 391 if (old_mtu != new_mtu && netif_running(netdev)) { 394 netdev->mtu = new_mtu; 395 adapter->hw.max_frame_size = new_mtu;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/benet/ |
H A D | be_main.c | 603 static int be_change_mtu(struct net_device *netdev, int new_mtu) argument 606 if (new_mtu < BE_MIN_MTU || 607 new_mtu > (BE_MAX_JUMBO_FRAME_SIZE - 616 netdev->mtu, new_mtu); 617 netdev->mtu = new_mtu;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/nes/ |
H A D | nes_nic.c | 963 static int nes_netdev_change_mtu(struct net_device *netdev, int new_mtu) argument 974 if ((new_mtu < ETH_ZLEN) || (new_mtu > max_mtu)) 977 netdev->mtu = new_mtu; 978 nesvnic->max_frame_size = new_mtu + VLAN_ETH_HLEN;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/myri10ge/ |
H A D | myri10ge.c | 3104 static int myri10ge_change_mtu(struct net_device *dev, int new_mtu) argument 3109 if ((new_mtu < 68) || (ETH_HLEN + new_mtu > MYRI10GE_MAX_ETHER_MTU)) { 3110 netdev_err(dev, "new mtu (%d) is not valid\n", new_mtu); 3113 netdev_info(dev, "changing mtu from %d to %d\n", dev->mtu, new_mtu); 3118 dev->mtu = new_mtu; 3121 dev->mtu = new_mtu;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/firewire/ |
H A D | net.c | 1341 static int fwnet_change_mtu(struct net_device *net, int new_mtu) argument 1343 if (new_mtu < 68) 1346 net->mtu = new_mtu;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/enic/ |
H A D | enic_main.c | 1825 static int enic_change_mtu(struct net_device *netdev, int new_mtu) argument 1830 if (new_mtu < ENIC_MIN_MTU || new_mtu > ENIC_MAX_MTU) 1836 netdev->mtu = new_mtu;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/cxgb4vf/ |
H A D | cxgb4vf_main.c | 1065 static int cxgb4vf_change_mtu(struct net_device *dev, int new_mtu) argument 1071 if (new_mtu < 81) 1074 ret = t4vf_set_rxmode(pi->adapter, pi->viid, new_mtu, 1077 dev->mtu = new_mtu;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/xtensa/platforms/iss/ |
H A D | network.c | 536 static int iss_net_change_mtu(struct net_device *dev, int new_mtu) argument
|