/src/usr.sbin/ndbootd/ |
ndbootd.c | 314 unsigned char packet_buffer[sizeof(struct ether_header) + IP_MAXPACKET]; local in function:main 510 ether_packet = (struct ether_header *) packet_buffer; 529 packet_length = ndbootd_raw_read(interface, packet_buffer, sizeof(packet_buffer)); 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)); 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)); 949 memcpy(packet_buffer [all...] |
ndbootd.c | 314 unsigned char packet_buffer[sizeof(struct ether_header) + IP_MAXPACKET]; local in function:main 510 ether_packet = (struct ether_header *) packet_buffer; 529 packet_length = ndbootd_raw_read(interface, packet_buffer, sizeof(packet_buffer)); 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)); 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)); 949 memcpy(packet_buffer [all...] |
ndbootd.c | 314 unsigned char packet_buffer[sizeof(struct ether_header) + IP_MAXPACKET]; local in function:main 510 ether_packet = (struct ether_header *) packet_buffer; 529 packet_length = ndbootd_raw_read(interface, packet_buffer, sizeof(packet_buffer)); 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)); 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)); 949 memcpy(packet_buffer [all...] |
ndbootd.c | 314 unsigned char packet_buffer[sizeof(struct ether_header) + IP_MAXPACKET]; local in function:main 510 ether_packet = (struct ether_header *) packet_buffer; 529 packet_length = ndbootd_raw_read(interface, packet_buffer, sizeof(packet_buffer)); 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)); 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)); 949 memcpy(packet_buffer [all...] |