Searched refs:cdc_ncm_eth_hlen (Results 1 – 1 of 1) sorted by relevance
488 static int cdc_ncm_eth_hlen(struct usbnet *dev) in cdc_ncm_eth_hlen() function647 dev->net->mtu = min_t(int, dev->net->mtu, ctx->max_datagram_size - cdc_ncm_eth_hlen(dev)); in cdc_ncm_set_dgram_size()697 ctx->tx_remainder = ((ctx->tx_remainder - cdc_ncm_eth_hlen(dev)) & in cdc_ncm_fix_modulus()802 cdc_ncm_set_dgram_size(dev, new_mtu + cdc_ncm_eth_hlen(dev)); in cdc_ncm_change_mtu()977 dev->net->max_mtu = cdc_ncm_max_dgram_size(dev) - cdc_ncm_eth_hlen(dev); in cdc_ncm_bind_common()