[fabbione/kronosnet] 791cf5: Improve knet_header and payload allocation