NL_LAST_PACKET
pkt.hdr_first.packet_rank |= NL_LAST_PACKET;
int is_last = packet->hdr.packet_rank & NL_LAST_PACKET;