tcpdump -r /root/1.cap 读取1.cap包内容 VLAN和QINQ环境下抓包: vlan环境 tcpdump -i eth0 vlan and udp port 1812 or 1813 or 1645 or 1646 -s0 -w /icg/data/radius.pcap QINQ环境 tcpdump -i eth0 vlan and vlan and udp port 1812 or 1813 or 1645 or 1646 -s0 -w...
length_type == ETHERTYPE_8021QinQ) { /* * It has a VLAN tag. * Print VLAN information, and then go back and process * the enclosed type field. */ if (caplen < 4) { ndo->ndo_protocol = "vlan"; nd_print_trunc(ndo);
added support and test case for QinQ (802.1q VLAN) packets Handle DLT_IEEE802_15_4_NOFCS like DLT_IEEE802_15_4. Build fixes for Sparc and other machines with alignment restrictions. Merged changes from Debian package. PGM: Add ACK decoding and add PGMCC DATA and FEEDBACK options. ...
Note that for the single-VLAN case, the bug amounts to a mere permutation, no information is lost (I verified this by fixing it in post-processing of SLL2 output). But for the multiple-VLAN/QinQ case, things get murky, and the second VLAN is lost (and was in SLL1 too). Is there...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...
length_type == ETHERTYPE_8021QinQ) { /* * It has a VLAN tag. * Print VLAN information, and then go back and process * the enclosed type field. */ if (caplen < 4) { ndo->ndo_protocol = "vlan"; nd_print_trunc(ndo); return (hdrlen + caplen); } if (length < 4) { ndo-...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...
#defineETHERTYPE_8021QinQ0x88a8 #endif #ifndefETHERTYPE_MACSEC #defineETHERTYPE_MACSEC0x88e5 #endif #ifndefETHERTYPE_IPX #defineETHERTYPE_IPX0x8137 #endif #ifndefETHERTYPE_IPV6 #defineETHERTYPE_IPV60x86dd #endif #ifndefETHERTYPE_PPP
length_type == ETHERTYPE_8021QinQ) { /* * It has a VLAN tag. * Print VLAN information, and then go back and process * the enclosed type field. */ if (caplen < 4) { ndo->ndo_protocol = "vlan"; nd_print_trunc(ndo); return hdrlen + caplen; } if (length < 4) { ndo->ndo...
length_type == ETHERTYPE_8021QinQ) { /* * Print VLAN information, and then go back and process * the enclosed type field. */ if(caplen <4) { ND_PRINT((ndo,"[|vlan]")); return(hdrlen + caplen); } if(length <4) { ND_PRINT((ndo,"[|vlan]")); ...