Lines Matching full:headroom
69 u32 headroom; in rmnet_vnd_headroom() local
71 headroom = sizeof(struct rmnet_map_header); in rmnet_vnd_headroom()
74 headroom += sizeof(struct rmnet_map_ul_csum_header); in rmnet_vnd_headroom()
76 return headroom; in rmnet_vnd_headroom()
83 u32 headroom; in rmnet_vnd_change_mtu() local
87 headroom = rmnet_vnd_headroom(port); in rmnet_vnd_change_mtu()
90 new_mtu > (priv->real_dev->mtu - headroom)) in rmnet_vnd_change_mtu()
270 * flags, ARP type, needed headroom, etc...
306 u32 headroom; in rmnet_vnd_newlink() local
320 headroom = rmnet_vnd_headroom(port); in rmnet_vnd_newlink()
322 if (rmnet_vnd_change_mtu(rmnet_dev, real_dev->mtu - headroom)) { in rmnet_vnd_newlink()
375 u32 headroom; in rmnet_vnd_validate_real_dev_mtu() local
379 headroom = rmnet_vnd_headroom(port); in rmnet_vnd_validate_real_dev_mtu()
382 if (ep->egress_dev->mtu > (real_dev->mtu - headroom)) in rmnet_vnd_validate_real_dev_mtu()
395 u32 headroom; in rmnet_vnd_update_dev_mtu() local
397 headroom = rmnet_vnd_headroom(port); in rmnet_vnd_update_dev_mtu()
400 if (ep->egress_dev->mtu <= (real_dev->mtu - headroom)) in rmnet_vnd_update_dev_mtu()
404 real_dev->mtu - headroom)) in rmnet_vnd_update_dev_mtu()