Lines Matching defs:packet
140 /* err can only be true on the first packet */
182 struct mconsole_notify packet;
202 packet.magic = MCONSOLE_MAGIC;
203 packet.version = MCONSOLE_VERSION;
204 packet.type = type;
205 len = (len > sizeof(packet.data)) ? sizeof(packet.data) : len;
206 packet.len = len;
207 memcpy(packet.data, data, len);
210 len = sizeof(packet) + packet.len - sizeof(packet.data);
211 n = sendto(notify_sock, &packet, len, 0, (struct sockaddr *) &target,