Lines Matching defs:packet
368 /* If we failed to send a raw packet this normally means
384 /* Even if we fail to send a packet we should continue as we are
664 uint8_t *packet;
672 * The benefit is that if we get >1 DHCP packet in our buffer and
674 packet = xmalloc(udp_dhcp_len);
677 packet, udp_dhcp_len, &partialcsum);
680 if (valid_udp_packet(packet, bytes, &from, partialcsum) == -1) {
681 syslog(LOG_ERR, "%s: invalid UDP packet from %s",
688 "%s: non whitelisted DHCP packet from %s",
695 "%s: blacklisted DHCP packet from %s",
706 bytes = get_udp_data(&pp, packet);
709 "%s: packet greater than DHCP size from %s",
729 /* Ensure packet is for us */
742 free(packet);
758 /* Give the packet a chance to go before dropping the ip */