A specialist in counter-insurgency warfare , he makes clear that he views the war in Afghanistan as a struggle to win back the support of the Afghan people -- a battle that the manual concedes has been lost by the military policies of the last eight years .