Moved ADHOC_LEN to header file for public access