Searched refs:lcs_hdr (Results 1 – 1 of 1) sorted by relevance
1815 struct lcs_header *lcs_hdr; in lcs_get_frames_cb() local1819 lcs_hdr = (struct lcs_header *) buffer->data; in lcs_get_frames_cb()1820 if (lcs_hdr->offset == LCS_ILLEGAL_OFFSET) { in lcs_get_frames_cb()1826 while (lcs_hdr->offset != 0) { in lcs_get_frames_cb()1827 if (lcs_hdr->offset <= 0 || in lcs_get_frames_cb()1828 lcs_hdr->offset > LCS_IOBUFFERSIZE || in lcs_get_frames_cb()1829 lcs_hdr->offset < offset) { in lcs_get_frames_cb()1836 if (lcs_hdr->type == LCS_FRAME_TYPE_CONTROL) in lcs_get_frames_cb()1838 lcs_get_control(card, (struct lcs_cmd *) lcs_hdr); in lcs_get_frames_cb()1839 else if (lcs_hdr->type == LCS_FRAME_TYPE_ENET || in lcs_get_frames_cb()[all …]