<s> from scapy . fields import BitField <EOL> from scapy . packet import Packet , bind_layers <EOL> from scapy . layers . inet import IP <EOL> from scapy . layers . l2 import Ether <EOL> class EtherIP ( Packet ) : <EOL> name = "<STR_LIT>" <EOL> fields_desc = [ BitField ( "<STR_LIT:version>" , <NUM_LIT:3> , <NUM_LIT:4> ) , <EOL> BitField ( "<STR_LIT>" , <NUM_LIT:0> , <NUM_LIT:12> ) ] <EOL> bind_layers ( IP , EtherIP , frag = <NUM_LIT:0> , proto = <NUM_LIT> ) <EOL> bind_layers ( EtherIP , Ether ) </s>
