Lines Matching refs:new_packet
121 struct ip_packet *new_packet = (struct ip_packet *) malloc
123 if (new_packet == NULL) {
126 new_packet->data = malloc(len);
127 if (new_packet->data == NULL) {
128 free(new_packet);
131 memcpy(new_packet->data, packet, len);
132 new_packet->ip_id = ip_id;
133 new_packet->len = len;
134 new_packet->flags = flags;
136 new_packet->next = frag_packets;
137 frag_packets = new_packet;