Lines Matching refs:lcs_hdr
1790 struct lcs_header *lcs_hdr; in lcs_get_frames_cb() local
1794 lcs_hdr = (struct lcs_header *) buffer->data; in lcs_get_frames_cb()
1795 if (lcs_hdr->offset == LCS_ILLEGAL_OFFSET) { in lcs_get_frames_cb()
1801 while (lcs_hdr->offset != 0) { in lcs_get_frames_cb()
1802 if (lcs_hdr->offset <= 0 || in lcs_get_frames_cb()
1803 lcs_hdr->offset > LCS_IOBUFFERSIZE || in lcs_get_frames_cb()
1804 lcs_hdr->offset < offset) { in lcs_get_frames_cb()
1811 if (lcs_hdr->type == LCS_FRAME_TYPE_CONTROL) in lcs_get_frames_cb()
1813 lcs_get_control(card, (struct lcs_cmd *) lcs_hdr); in lcs_get_frames_cb()
1814 else if (lcs_hdr->type == LCS_FRAME_TYPE_ENET || in lcs_get_frames_cb()
1815 lcs_hdr->type == LCS_FRAME_TYPE_TR || in lcs_get_frames_cb()
1816 lcs_hdr->type == LCS_FRAME_TYPE_FDDI) in lcs_get_frames_cb()
1818 lcs_get_skb(card, (char *)(lcs_hdr + 1), in lcs_get_frames_cb()
1819 lcs_hdr->offset - offset - in lcs_get_frames_cb()
1825 offset = lcs_hdr->offset; in lcs_get_frames_cb()
1826 lcs_hdr->offset = LCS_ILLEGAL_OFFSET; in lcs_get_frames_cb()
1827 lcs_hdr = (struct lcs_header *) (buffer->data + offset); in lcs_get_frames_cb()