Lines Matching refs:ether_type
56 u_short ether_type;
69 ether_type = EXTRACT_16BITS(&sllp->sll_protocol);
71 if (ether_type <= ETHERMTU) {
75 switch (ether_type) {
96 ether_type);
101 tok2str(ethertype_values, "Unknown", ether_type),
102 ether_type);
120 u_short ether_type;
145 ether_type = EXTRACT_16BITS(&sllp->sll_protocol);
152 if (ether_type <= ETHERMTU) {
156 switch (ether_type) {
180 /* ether_type not known, print raw packet */
191 } else if (ether_type == ETHERTYPE_8021Q) {
209 ether_type = EXTRACT_16BITS(p + 2);
210 if (ether_type <= ETHERMTU)
211 ether_type = LINUX_SLL_P_802_2;
214 tok2str(ethertype_values, "Unknown", ether_type));
221 if (ethertype_print(gndo, ether_type, p, length, caplen) == 0) {
222 /* ether_type not known, print raw packet */