Lines Matching refs:lan_hdr_len
1686 unsigned int rbuffer_len, lan_hdr_len, hdr_len, ip_len, length;
1708 lan_hdr_len = rarb.lan_hdr_len;
1709 if (lan_hdr_len > sizeof(struct trh_hdr)) {
1714 hdr_len = lan_hdr_len + sizeof(struct trllc) + sizeof(struct iphdr);
1717 llc = rbuf + offsetof(struct rec_buf, data) + lan_hdr_len;
1720 DPRINTK("offsetof data: %02X lan_hdr_len: %02X\n",
1721 (__u32) offsetof(struct rec_buf, data), (unsigned int) lan_hdr_len);
1765 skb_size=length-lan_hdr_len+sizeof(struct trh_hdr)+sizeof(struct trllc);
1776 skb_reserve(skb, sizeof(struct trh_hdr) - lan_hdr_len);
1787 iph= (struct iphdr *)(data+ lan_hdr_len + sizeof(struct trllc));