Lines Matching defs:packet
52 char *data, packet[ SZ_NBPHDR + 1 ];
57 data = packet;
61 if ( sendto( fd, packet, data - packet, 0, (struct sockaddr *)to,
78 char *end, *nbpop, *zonep, packet[ ATP_BUFSIZ ];
84 LOG(log_info, logtype_atalkd, "nbp_packet malformed packet" );
93 LOG(log_info, logtype_atalkd, "nbp_packet: malformed packet" );
120 LOG(log_info, logtype_atalkd, "nbp_packet: malformed packet" );
131 LOG(log_info, logtype_atalkd, "nbp_packet: malformed packet" );
142 LOG(log_info, logtype_atalkd, "nbp_packet: malformed packet" );
152 LOG(log_info, logtype_atalkd, "nbp_packet: malformed packet" );
331 * zone into the packet.
345 * Copy zone into packet. Note that we're changing len, data, and
347 * of this packet.
350 memcpy( packet, data - len, len );
351 nbpop = packet + ( len - ( data - nbpop ));
352 data = packet + ( len - ( data - zonep ));
356 len = data - packet;
507 data = packet + 1 + SZ_NBPHDR;
508 end = packet + sizeof( packet );
558 * got, and start the next packet.
564 cc = data - packet;
565 data = packet;
569 if ( sendto( ap->ap_fd, packet, cc, 0,
580 data = packet + 1 + SZ_NBPHDR;
581 end = packet + sizeof( packet );
627 cc = data - packet;
628 data = packet;
632 if ( sendto( ap->ap_fd, packet, cc, 0,