RECV_NUM_PACKET
bufreq.rx.npacket = RECV_NUM_PACKET;
buf = (char *)malloc(RECV_NUM_PACKET * RECV_PACKET_SZ);
len = read(fd, buf, RECV_NUM_PACKET * RECV_PACKET_SZ);