Lines Matching defs:lcs_hdr
1788 struct lcs_header *lcs_hdr;
1792 lcs_hdr = (struct lcs_header *) buffer->data;
1793 if (lcs_hdr->offset == LCS_ILLEGAL_OFFSET) {
1799 while (lcs_hdr->offset != 0) {
1800 if (lcs_hdr->offset <= 0 ||
1801 lcs_hdr->offset > LCS_IOBUFFERSIZE ||
1802 lcs_hdr->offset < offset) {
1809 if (lcs_hdr->type == LCS_FRAME_TYPE_CONTROL)
1811 lcs_get_control(card, (struct lcs_cmd *) lcs_hdr);
1812 else if (lcs_hdr->type == LCS_FRAME_TYPE_ENET ||
1813 lcs_hdr->type == LCS_FRAME_TYPE_TR ||
1814 lcs_hdr->type == LCS_FRAME_TYPE_FDDI)
1816 lcs_get_skb(card, (char *)(lcs_hdr + 1),
1817 lcs_hdr->offset - offset -
1823 offset = lcs_hdr->offset;
1824 lcs_hdr->offset = LCS_ILLEGAL_OFFSET;
1825 lcs_hdr = (struct lcs_header *) (buffer->data + offset);