Searched refs:trllc (Results 1 – 3 of 3) sorted by relevance
115 struct trllc *trllc; in tr_header() local117 hdr_len = sizeof(struct trh_hdr) + sizeof(struct trllc); in tr_header()119 trllc = (struct trllc *)(trh+1); in tr_header()120 trllc->dsap = trllc->ssap = EXTENDED_SAP; in tr_header()121 trllc->llc = UI_CMD; in tr_header()122 trllc->protid[0] = trllc->protid[1] = trllc->protid[2] = 0x00; in tr_header()123 trllc->ethertype = htons(type); in tr_header()161 struct trllc *trllc=(struct trllc *)(skb->data+sizeof(struct trh_hdr)); in tr_rebuild_header() local168 if(trllc->ethertype != htons(ETH_P_IP)) { in tr_rebuild_header()169 …printk("tr_rebuild_header: Don't know how to resolve type %04X addresses ?\n", ntohs(trllc->ethert… in tr_rebuild_header()[all …]
28 #define TR_HLEN (sizeof(struct trh_hdr)+sizeof(struct trllc))56 struct trllc { struct
1576 struct trllc *llc; in tr_tx()1604 llc = (struct trllc *) (ti->current_skb->data + hdr_len); in tr_tx()1716 hdr_len = lan_hdr_len + sizeof(struct trllc) + sizeof(struct iphdr); in tr_rx()1733 if (readb(llc + offsetof(struct trllc, llc)) != UI_CMD) { in tr_rx()1767 skb_size=length-lan_hdr_len+sizeof(struct trh_hdr)+sizeof(struct trllc); in tr_rx()1789 iph= (struct iphdr *)(data+ lan_hdr_len + sizeof(struct trllc)); in tr_rx()