Home
last modified time | relevance | path

Searched refs:trllc (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/net/802/
Dtr.c100 struct trllc *trllc=(struct trllc *)(trh+1); in tr_header() local
102 hdr_len = sizeof(struct trh_hdr) + sizeof(struct trllc); in tr_header()
104 trllc = (struct trllc *)(trh+1); in tr_header()
105 trllc->dsap = trllc->ssap = EXTENDED_SAP; in tr_header()
106 trllc->llc = UI_CMD; in tr_header()
107 trllc->protid[0] = trllc->protid[1] = trllc->protid[2] = 0x00; in tr_header()
108 trllc->ethertype = htons(type); in tr_header()
146 struct trllc *trllc=(struct trllc *)(skb->data+sizeof(struct trh_hdr)); in tr_rebuild_header() local
153 if(trllc->ethertype != htons(ETH_P_IP)) { in tr_rebuild_header()
154 …_header: Don't know how to resolve type %04X addresses ?\n",(unsigned int)htons(trllc->ethertype)); in tr_rebuild_header()
[all …]
/linux-2.4.37.9/include/linux/
Dif_tr.h26 #define TR_HLEN (sizeof(struct trh_hdr)+sizeof(struct trllc))
52 struct trllc { struct
/linux-2.4.37.9/drivers/net/tokenring/
Dibmtr.c1566 struct trllc *llc; in tr_tx()
1594 llc = (struct trllc *) (ti->current_skb->data + hdr_len); in tr_tx()
1710 hdr_len = lan_hdr_len + sizeof(struct trllc) + sizeof(struct iphdr); in tr_rx()
1727 if (readb(llc + offsetof(struct trllc, llc)) != UI_CMD) { in tr_rx()
1763 skb_size=length-lan_hdr_len+sizeof(struct trh_hdr)+sizeof(struct trllc); in tr_rx()
1786 iph= (struct iphdr *)(data+ lan_hdr_len + sizeof(struct trllc)); in tr_rx()