OSHDLC is the software implementation of High Level Data Link Control (HDLC) standard.  It is a fully optimized C-code and It utilizes a state table based, efficient algorithm.  This code may be used on lots of platforms easily as desired.