Serving in the armed forces was a family affair for many of the United States’ most prominent military figures.