The M16 is an assault rifle used by the United States since the Vietnam War in 1963 , based on the AR-15 .
Since the Vietnam War , the M16 rifle family has been the primary infantry rifle of the U.S. military .