Make a c->write_packet method to support packet transmission for IS2