Lines Matching refs:ether_header
314 unsigned char packet_buffer[sizeof(struct ether_header) + IP_MAXPACKET];
320 struct ether_header *ether_packet;
324 struct ether_header ether_packet_buffer;
510 ether_packet = (struct ether_header
539 < (sizeof(struct ether_header)
546 memcpy(ether_packet, packet_buffer, sizeof(struct ether_header));
547 memcpy(ip_packet, packet_buffer + sizeof(struct ether_header),
548 (((struct ip *) (packet_buffer + sizeof(struct ether_header)))->ip_hl << 2));
561 != (sizeof(struct ether_header)
714 memcpy(nd_packet, packet_buffer + sizeof(struct ether_header) + (ip_packet->ip_hl << 2), sizeof(struct ndboot_packet));
916 memcpy(packet_buffer, ether_packet, sizeof(struct ether_header));
950 sizeof(struct ether_header) + (ip_packet->ip_hl << 2) + sizeof(struct ndboot_packet),
962 memcpy(packet_buffer + sizeof(struct ether_header), ip_packet, ip_packet->ip_hl << 2);
963 memcpy(packet_buffer + sizeof(struct ether_header) + (ip_packet->ip_hl << 2), nd_packet, sizeof(struct ndboot_packet));
986 sizeof(struct ether_header) + (ip_packet->ip_hl << 2) + sizeof(struct ndboot_packet) + ntohl(nd_packet->ndboot_packet_current_byte_count)) < 0) {