Lines Matching refs:usb_cdc_ncm_ndp32
596 …ctx->max_ndp_size = sizeof(struct usb_cdc_ncm_ndp32) + (ctx->tx_max_datagrams + 1) * sizeof(struct… in cdc_ncm_init()
1140 static struct usb_cdc_ncm_ndp32 *cdc_ncm_ndp32(struct cdc_ncm_ctx *ctx, struct sk_buff *skb, __le32… in cdc_ncm_ndp32()
1142 struct usb_cdc_ncm_ndp32 *ndp32 = NULL; in cdc_ncm_ndp32()
1164 ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb->data + ndpoffset); in cdc_ncm_ndp32()
1191 ndp32->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp32) + sizeof(struct usb_cdc_ncm_dpe32)); in cdc_ncm_ndp32()
1205 struct usb_cdc_ncm_ndp32 *ndp32; in cdc_ncm_fill_tx_frame()
1349 index = (ndplen - sizeof(struct usb_cdc_ncm_ndp32)) / sizeof(struct usb_cdc_ncm_dpe32) - 1; in cdc_ncm_fill_tx_frame()
1605 sizeof(struct usb_cdc_ncm_ndp32))) { in cdc_ncm_rx_verify_nth32()
1682 struct usb_cdc_ncm_ndp32 *ndp32; in cdc_ncm_rx_verify_ndp32()
1685 if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp32)) > skb_in->len) { in cdc_ncm_rx_verify_ndp32()
1690 ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb_in->data + ndpoffset); in cdc_ncm_rx_verify_ndp32()
1699 sizeof(struct usb_cdc_ncm_ndp32)) / in cdc_ncm_rx_verify_ndp32()
1703 if ((sizeof(struct usb_cdc_ncm_ndp32) + in cdc_ncm_rx_verify_ndp32()
1724 struct usb_cdc_ncm_ndp32 *ndp32; in cdc_ncm_rx_fixup()
1763 ndp.ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb_in->data + ndpoffset); in cdc_ncm_rx_fixup()