Packet headers offsets are stored in special class variables in OTcl. You need to bind to those variables in order to access them. Add the lines: bind("off_flags", &off_flags_); to your WFM constructor in C++ and you should be ok, Kannan