Lines Matching refs:usb_cdc_ncm_ndp16
507 …ctx->max_ndp_size = sizeof(struct usb_cdc_ncm_ndp16) + (ctx->tx_max_datagrams + 1) * sizeof(struct… in cdc_ncm_init()
1014 static struct usb_cdc_ncm_ndp16 *cdc_ncm_ndp(struct cdc_ncm_ctx *ctx, struct sk_buff *skb, __le32 s… in cdc_ncm_ndp()
1016 struct usb_cdc_ncm_ndp16 *ndp16 = NULL; in cdc_ncm_ndp()
1022 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb->data + ndpoffset); in cdc_ncm_ndp()
1042 ndp16 = (struct usb_cdc_ncm_ndp16 *)memset(skb_put(skb, ctx->max_ndp_size), 0, ctx->max_ndp_size); in cdc_ncm_ndp()
1044 ndp16->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp16) + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_ndp()
1053 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_ncm_fill_tx_frame()
1134 index = (ndplen - sizeof(struct usb_cdc_ncm_ndp16)) / sizeof(struct usb_cdc_ncm_dpe16) - 1; in cdc_ncm_fill_tx_frame()
1309 sizeof(struct usb_cdc_ncm_ndp16))) { in cdc_ncm_rx_verify_nth16()
1350 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_ncm_rx_verify_ndp16()
1353 if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp16)) > skb_in->len) { in cdc_ncm_rx_verify_ndp16()
1358 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); in cdc_ncm_rx_verify_ndp16()
1367 sizeof(struct usb_cdc_ncm_ndp16)) / in cdc_ncm_rx_verify_ndp16()
1371 if ((sizeof(struct usb_cdc_ncm_ndp16) + in cdc_ncm_rx_verify_ndp16()
1390 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_ncm_rx_fixup()
1405 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); in cdc_ncm_rx_fixup()