swrap_packet
static const struct swrap_packet p;
static struct swrap_packet *swrap_packet_init(struct timeval *tval,
struct swrap_packet *ret;
struct swrap_packet *packet;
if (alloc_len < sizeof(struct swrap_packet)) {
alloc_len = sizeof(struct swrap_packet);
ret = (struct swrap_packet *)malloc(alloc_len);
packet = (struct swrap_packet *)(((unsigned char *)ret) + icmp_hdr_len);
struct swrap_packet *packet;