def expected_reply_type(msg_type: int) -> int:
    """Return the expected OpenFlow message reply type."""
    if msg_type in {2, 5, 7, 18, 20, 22, 24, 26}:
        return msg_type + 1
    return msg_type