Hooker was often quite aggressive, and, in fact, even sustained a head injury during one battle because of his forward positioning.
Lincoln is saying Hooker has his head (headquarters) up his ass (hindquarters) - ie, that he's an idiot without vision.