taglinefilesource code
trllc1136drivers/net/ibmtr.cstruct trllc *llc;
trllc1151drivers/net/ibmtr.cllc=(struct trllc *)((unsigned char *)rbuffer+offsetof(struct rec_buf,data)+lan_hdr_len);
trllc26include/linux/if_tr.h#define TR_HLEN   (sizeof(struct trh_hdr)+sizeof(struct trllc))
trllc46net/802/tr.cstruct trllc *trllc=(struct trllc *)(trh+1);
trllc56net/802/tr.ctrllc->dsap=trllc->ssap=EXTENDED_SAP;
trllc57net/802/tr.ctrllc->llc=UI_CMD;
trllc59net/802/tr.ctrllc->protid[0]=trllc->protid[1]=trllc->protid[2]=0x00;
trllc60net/802/tr.ctrllc->ethertype=htons(type);
trllc75net/802/tr.cstruct trllc *trllc=(struct trllc *)(buff+sizeof(struct trh_hdr));
trllc77net/802/tr.cif(trllc->ethertype != htons(ETH_P_IP)) {
trllc78net/802/tr.cprintk("tr_rebuild_header: Don't know how to resolve type %04X addresses ?\n",(unsigned int)htons(  trllc->ethertype));
trllc94net/802/tr.cstruct trllc *trllc=(struct trllc *)(skb->data+sizeof(struct trh_hdr));
trllc117net/802/tr.creturn trllc->ethertype;