a dissector as following is working fine.
local gtp_tpdu_custom = Proto.new("gtp_tpdu_custom", "BNG GTP Custom Demo dissector") function gtp_tpdu_custom.dissector(buffer, pinfo, tree) end