TNF and infection: However, when mastitis occurs in dairy cows, TNF-α and IL-1β are rapidly expressed in the early stages of infection and have powerful proinflammatory functions.