Home | History | Annotate | Download | only in wrt

Lines Matching refs:packet

252   struct dhcp_packet packet;
253 unsigned char *p = packet.options;
275 /* This voodoo fakes up a packet coming from the correct interface, which really matters for
288 memset(&packet, 0, sizeof(packet));
290 packet.hlen = parse_hex(argv[3], packet.chaddr, DHCP_CHADDR_MAX, &mac_type);
292 packet.htype = ARPHRD_ETHER;
294 packet.htype = mac_type;
296 packet.op = BOOTREQUEST;
297 packet.ciaddr = lease;
298 packet.cookie = htonl(DHCP_COOKIE);
323 if (sendto(fd, &packet, sizeof(packet), 0,