Searched refs:pkt (Results 1 – 1 of 1) sorted by relevance
390 static void error_packet(char *pkt, int error) in error_packet() argument393 pkt[0] = 'E'; in error_packet()394 pkt[1] = hex_asc[(error / 10)]; in error_packet()395 pkt[2] = hex_asc[(error % 10)]; in error_packet()396 pkt[3] = '\0'; in error_packet()407 static char *pack_threadid(char *pkt, unsigned char *id) in pack_threadid() argument415 pkt = hex_byte_pack(pkt, *id); in pack_threadid()422 pkt = hex_byte_pack(pkt, 0); in pack_threadid()424 return pkt; in pack_threadid()