Lines Matching refs:usb_cdc_ncm_ndp16
580 …ctx->max_ndp_size = sizeof(struct usb_cdc_ncm_ndp16) + (ctx->tx_max_datagrams + 1) * sizeof(struct… in cdc_ncm_init()
1070 static struct usb_cdc_ncm_ndp16 *cdc_ncm_ndp16(struct cdc_ncm_ctx *ctx, struct sk_buff *skb, __le32… in cdc_ncm_ndp16()
1072 struct usb_cdc_ncm_ndp16 *ndp16 = NULL; in cdc_ncm_ndp16()
1094 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb->data + ndpoffset); in cdc_ncm_ndp16()
1121 ndp16->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp16) + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_ndp16()
1189 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_ncm_fill_tx_frame()
1323 index = (ndplen - sizeof(struct usb_cdc_ncm_ndp16)) / sizeof(struct usb_cdc_ncm_dpe16) - 1; in cdc_ncm_fill_tx_frame()
1538 sizeof(struct usb_cdc_ncm_ndp16))) { in cdc_ncm_rx_verify_nth16()
1627 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_ncm_rx_verify_ndp16()
1630 if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp16)) > skb_in->len) { in cdc_ncm_rx_verify_ndp16()
1635 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); in cdc_ncm_rx_verify_ndp16()
1644 sizeof(struct usb_cdc_ncm_ndp16)) / in cdc_ncm_rx_verify_ndp16()
1648 if ((sizeof(struct usb_cdc_ncm_ndp16) + in cdc_ncm_rx_verify_ndp16()
1704 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_ncm_rx_fixup()
1730 ndp.ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); in cdc_ncm_rx_fixup()