Lines Matching defs:ethertype
133 int ethertype;
170 ethertype = ntohs(e->ether_type);
181 if (ethertype == ETHERTYPE_VLAN) {
201 ethertype = ntohs(evx->ether_type);
205 if (ethertype <= 1514) {
212 ieee8023 = ethertype;
215 ethertype = ntohs(*(ushort_t *)(off + 6));
219 ethertype = 0;
234 if (ethertype == 0 && ieee8023 > 0) {
242 ethertype, print_ethertype(ethertype),
246 if (ethertype == 0 && ieee8023 > 0) {
254 "size=%d bytes", ethertype,
255 print_ethertype(ethertype), VLAN_ID(tci),
295 if (ethertype == 0) {
302 if (ethertype != 0 || ieee8023 == 0)
305 ethertype, print_ethertype(ethertype));
319 if (!trillpkt && ethertype == ETHERTYPE_TRILL) {
320 ethertype = interpret_trill(flags, &e, data, &len);
322 if (ethertype != 0) {
333 switch (ethertype) {
817 int ethertype;
869 ethertype = ntohs(snaphdr->type);
907 ethertype,
908 print_ethertype(ethertype),
969 ethertype, print_ethertype(ethertype));
977 switch (ethertype) {
1073 int ethertype;
1130 ethertype = ntohs(f->type);
1165 ethertype,
1166 print_ethertype(ethertype),
1243 ethertype, print_ethertype(ethertype));
1251 switch (ethertype) {
1586 unsigned short ethertype;
1616 ethertype = ntohs(hdr->ipoib_type);
1624 ethertype,
1625 print_ethertype(ethertype),
1639 "Ethertype = %04X (%s)", ethertype,
1640 print_ethertype(ethertype));
1645 switch (ethertype) {