parser.add_option("-p","--proto",action="store",type="string",dest="startProtocol",default="eth",help="Packet protocol. Can be eth, ip4, ip6, tcp, udp. By default - eth.")
parser.add_option("-o","--offset",action="store",type="long",dest="beginOffset",default=0,help="Bytes offset from packet begining")
parser.add_option("-r","--raw",action="store_true",dest="rawBuffer",default=False,help="Show raw buffer")
(options,args)=parser.parse_args()
iflen(args)<1:
parser.error("you should note address of network packet")