Lines Matching defs:lcs_hdr
1776 struct lcs_header *lcs_hdr;
1780 lcs_hdr = (struct lcs_header *) buffer->data;
1781 if (lcs_hdr->offset == LCS_ILLEGAL_OFFSET) {
1787 while (lcs_hdr->offset != 0) {
1788 if (lcs_hdr->offset <= 0 ||
1789 lcs_hdr->offset > LCS_IOBUFFERSIZE ||
1790 lcs_hdr->offset < offset) {
1796 if (lcs_hdr->type == LCS_FRAME_TYPE_CONTROL)
1797 lcs_get_control(card, (struct lcs_cmd *) lcs_hdr);
1798 else if (lcs_hdr->type == LCS_FRAME_TYPE_ENET)
1799 lcs_get_skb(card, (char *)(lcs_hdr + 1),
1800 lcs_hdr->offset - offset -
1805 lcs_hdr->type);
1806 offset = lcs_hdr->offset;
1807 lcs_hdr->offset = LCS_ILLEGAL_OFFSET;
1808 lcs_hdr = (struct lcs_header *) (buffer->data + offset);