Home | History | Annotate | Download | only in common

Lines Matching defs:llc

80         struct trllc *llc;
101 /* set up the llc header for snap encoding after the tr header */
102 llc = (struct trllc *)(buf + *bufix + hdr_len);
103 llc->dsap = EXTENDED_SAP;
104 llc->ssap = EXTENDED_SAP;
105 llc->llc = UI_CMD;
106 llc->protid[0] = 0;
107 llc->protid[1] = 0;
108 llc->protid[2] = 0;
109 llc->ethertype = htons(ETHERTYPE_IP);
132 struct trllc *llc;
152 llc = (struct trllc *)(buf + bufix + sizeof(struct trh_hdr)-TR_MAXRIFLEN+route_len);
153 if (llc->dsap == EXTENDED_SAP
154 && llc->ssap == EXTENDED_SAP
155 && llc->llc == UI_CMD
156 && llc->protid[0] == 0
157 && llc->protid[1] == 0
158 && llc->protid[2] == 0) {
172 llc = (struct trllc *)(buf + bufix + hdr_len);
173 ip = (struct ip *) (llc + 1);
178 if (llc->dsap != EXTENDED_SAP
179 || ntohs(llc->ethertype) != ETHERTYPE_IP