Searched refs:swrap_packet (Results 1 – 1 of 1) sorted by relevance
663 struct swrap_packet { struct725 static const struct swrap_packet p; in socket_wrapper_pcap_file() argument771 static struct swrap_packet *swrap_packet_init(struct timeval *tval, in swrap_packet_init()783 struct swrap_packet *ret; in swrap_packet_init()784 struct swrap_packet *packet; in swrap_packet_init()823 if (alloc_len < sizeof(struct swrap_packet)) { in swrap_packet_init()824 alloc_len = sizeof(struct swrap_packet); in swrap_packet_init()826 ret = (struct swrap_packet *)malloc(alloc_len); in swrap_packet_init()855 packet = (struct swrap_packet *)(((unsigned char *)ret) + icmp_hdr_len); in swrap_packet_init()944 struct swrap_packet *packet; in swrap_dump_packet()