Home
last modified time | relevance | path

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

/linux-3.4.99/net/802/
Dtr.c115 struct trllc *trllc; in tr_header() local
117 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() local
168 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 …]
/linux-3.4.99/include/linux/
Dif_tr.h28 #define TR_HLEN (sizeof(struct trh_hdr)+sizeof(struct trllc))
56 struct trllc { struct
/linux-3.4.99/drivers/net/tokenring/
Dibmtr.c1576 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()