Searched refs:lcs_hdr (Results 1 – 1 of 1) sorted by relevance
1791 struct lcs_header *lcs_hdr; in lcs_get_frames_cb() local1795 lcs_hdr = (struct lcs_header *) buffer->data; in lcs_get_frames_cb()1796 if (lcs_hdr->offset == LCS_ILLEGAL_OFFSET) { in lcs_get_frames_cb()1802 while (lcs_hdr->offset != 0) { in lcs_get_frames_cb()1803 if (lcs_hdr->offset <= 0 || in lcs_get_frames_cb()1804 lcs_hdr->offset > LCS_IOBUFFERSIZE || in lcs_get_frames_cb()1805 lcs_hdr->offset < offset) { in lcs_get_frames_cb()1812 if (lcs_hdr->type == LCS_FRAME_TYPE_CONTROL) { in lcs_get_frames_cb()1814 lcs_get_control(card, (struct lcs_cmd *) lcs_hdr); in lcs_get_frames_cb()1815 } else if (lcs_hdr->type == LCS_FRAME_TYPE_ENET || in lcs_get_frames_cb()[all …]