Home
last modified time | relevance | path

Searched refs:max_ndp_size (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/usb/
Dcdc_ncm.c176 min = ctx->max_datagram_size + ctx->max_ndp_size + sizeof(struct usb_cdc_ncm_nth16); in cdc_ncm_check_tx_max()
507 …ctx->max_ndp_size = sizeof(struct usb_cdc_ncm_ndp16) + (ctx->tx_max_datagrams + 1) * sizeof(struct… in cdc_ncm_init()
846 ctx->delayed_ndp16 = kzalloc(ctx->max_ndp_size, GFP_KERNEL); in cdc_ncm_bind_common()
1018 if ((ctx->tx_max - skb->len - reserve) < ctx->max_ndp_size) in cdc_ncm_ndp()
1029 ndp16 = (struct usb_cdc_ncm_ndp16 *)memset(skb_put(skb, ctx->max_ndp_size), 0, ctx->max_ndp_size); in cdc_ncm_ndp()
1053 delayed_ndp_size = ctx->max_ndp_size; in cdc_ncm_fill_tx_frame()
1188 memcpy(skb_put(skb_out, ctx->max_ndp_size), ctx->delayed_ndp16, ctx->max_ndp_size); in cdc_ncm_fill_tx_frame()
1191 ndp16 = memset(ctx->delayed_ndp16, 0, ctx->max_ndp_size); in cdc_ncm_fill_tx_frame()
/linux-4.4.14/include/linux/usb/
Dcdc_ncm.h112 u32 max_ndp_size; member