Searched refs:swrap_packet (Results 1 – 1 of 1) sorted by relevance
661 struct swrap_packet { struct723 static const struct swrap_packet p; in socket_wrapper_pcap_file() argument769 static struct swrap_packet *swrap_packet_init(struct timeval *tval, in swrap_packet_init()781 struct swrap_packet *ret; in swrap_packet_init()782 struct swrap_packet *packet; in swrap_packet_init()821 if (alloc_len < sizeof(struct swrap_packet)) { in swrap_packet_init()822 alloc_len = sizeof(struct swrap_packet); in swrap_packet_init()824 ret = (struct swrap_packet *)malloc(alloc_len); in swrap_packet_init()853 packet = (struct swrap_packet *)(((unsigned char *)ret) + icmp_hdr_len); in swrap_packet_init()942 struct swrap_packet *packet; in swrap_dump_packet()