Lines Matching defs:ether_type
137 u_short ether_type;
150 ether_type = EXTRACT_16BITS(&sllp->sll_protocol);
152 if (ether_type <= ETHERMTU) {
156 switch (ether_type) {
177 ether_type));
182 tok2str(ethertype_values, "Unknown", ether_type),
183 ether_type));
202 u_short ether_type;
239 ether_type = EXTRACT_16BITS(&sllp->sll_protocol);
246 if (ether_type <= ETHERMTU) {
250 switch (ether_type) {
279 } else if (ether_type == ETHERTYPE_8021Q) {
298 ether_type = EXTRACT_16BITS(p + 2);
299 if (ether_type <= ETHERMTU)
300 ether_type = LINUX_SLL_P_802_2;
303 tok2str(ethertype_values, "Unknown", ether_type)));
311 if (ethertype_print(ndo, ether_type, p, length, caplen, NULL, NULL) == 0) {
312 /* ether_type not known, print raw packet */