support specifying L2 type in raw pkt