func: int createSig (u_char *buf) char * temp , * temp1 ; temp1 = ( char * ) malloc ( 400 * sizeof ( char ) ); temp = temp1; strcpy ( temp , "HEADER JUNK:" ); len += strlen ( temp ); while ( * temp != '\0' )  * p ++ = * temp ++; * p ++ = * comp_dn ++; len += comp_size; PUTSHORT ( 24 , p ); p += 2; PUTSHORT ( C_IN , p ); p += 2; PUTLONG ( 255 , p ); p += 4; PUTSHORT ( 30 , p ); p += 2; len += 10; PUTSHORT ( 15 , p ); p += 2; PUTSHORT ( 256 * 2 , p ); p += 2; PUTLONG ( 255 , p ); p += 4; PUTLONG ( now + 20000 , p ); p += 4; PUTLONG ( now , p ); p += 4; PUTSHORT ( 100 , p ); p += 2; len += 18; len += comp_size; * p ++ = * comp_dn2 ++; PUTLONG ( 123 , p ); p += 4; len += 4; return ( p - buf ) ; 