Lines Matching refs:usb_cdc_ncm_ndp16
598 …ctx->max_ndp_size = sizeof(struct usb_cdc_ncm_ndp16) + (ctx->tx_max_datagrams + 1) * sizeof(struct… in cdc_ncm_init()
1090 static struct usb_cdc_ncm_ndp16 *cdc_ncm_ndp16(struct cdc_ncm_ctx *ctx, struct sk_buff *skb, __le32… in cdc_ncm_ndp16()
1092 struct usb_cdc_ncm_ndp16 *ndp16 = NULL; in cdc_ncm_ndp16()
1114 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb->data + ndpoffset); in cdc_ncm_ndp16()
1141 ndp16->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp16) + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_ndp16()
1209 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_ncm_fill_tx_frame()
1344 index = (ndplen - sizeof(struct usb_cdc_ncm_ndp16)) / sizeof(struct usb_cdc_ncm_dpe16) - 1; in cdc_ncm_fill_tx_frame()
1565 sizeof(struct usb_cdc_ncm_ndp16))) { in cdc_ncm_rx_verify_nth16()
1654 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_ncm_rx_verify_ndp16()
1657 if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp16)) > skb_in->len) { in cdc_ncm_rx_verify_ndp16()
1662 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); in cdc_ncm_rx_verify_ndp16()
1671 sizeof(struct usb_cdc_ncm_ndp16)) / in cdc_ncm_rx_verify_ndp16()
1675 if ((sizeof(struct usb_cdc_ncm_ndp16) + in cdc_ncm_rx_verify_ndp16()
1731 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_ncm_rx_fixup()
1757 ndp.ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); in cdc_ncm_rx_fixup()