set IP packet len during marshalling
merge